# # # patch "ChangeLog" # from [5f8f3954c40358b385b7ea0817cb9342367bc854] # to [b6411b5caeab310b0d23e00225cb36bdc9176fd4] # # patch "tests/mtn_execute_attr_respects_umask/__driver__.lua" # from [fa8dc800c1a961952ef69a4047a8ad9563cc5fe5] # to [badff21ffe0f2e43ca68f4bd778d62e654b1e8a8] # ============================================================ --- ChangeLog 5f8f3954c40358b385b7ea0817cb9342367bc854 +++ ChangeLog b6411b5caeab310b0d23e00225cb36bdc9176fd4 @@ -1,3 +1,8 @@ +2006-11-20 Matt Johnston + + * tests/mtn_execute_attr_respects_umask/: use ls -l rather than + stat -c, since the former is posix defined. + 2006-11-18 Richard Levitte * debian/monotone-server.monotone.init (d_start): Remove the ============================================================ --- tests/mtn_execute_attr_respects_umask/__driver__.lua fa8dc800c1a961952ef69a4047a8ad9563cc5fe5 +++ tests/mtn_execute_attr_respects_umask/__driver__.lua badff21ffe0f2e43ca68f4bd778d62e654b1e8a8 @@ -16,8 +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, true, false) -check(string.find(readfile("stdout"), "700") ~= nil) +check({"ls", "-l", "077-co/foo"}, 0, true, false) +check(string.find(readfile("stdout"), "-rwx------") == 1) -- Don't do this one; it makes the directories also 200, which