# # # patch "tests/mtn_execute_attr_respects_umask/__driver__.lua" # from [14a16f30798020243f72cdcc9c0eb87706fb8068] # to [fa8dc800c1a961952ef69a4047a8ad9563cc5fe5] # ============================================================ --- tests/mtn_execute_attr_respects_umask/__driver__.lua 14a16f30798020243f72cdcc9c0eb87706fb8068 +++ tests/mtn_execute_attr_respects_umask/__driver__.lua fa8dc800c1a961952ef69a4047a8ad9563cc5fe5 @@ -16,7 +16,8 @@ check(not is_executable("077-co/bar")) check(mtn("co", "-r", R, "077-co"), 0, false, false) check(is_executable("077-co/foo")) check(not is_executable("077-co/bar")) -check({"stat", "-c", "%a", "077-co/foo"}, 0, "700\n", false) +check({"stat", "-c", "%a", "077-co/foo"}, 0, true, false) +check(string.find(readfile("stdout"), "700") ~= nil) -- Don't do this one; it makes the directories also 200, which