# # # patch "ChangeLog" # from [a0f2c86751affbf2343049243b293ba6ac96f801] # to [12cf8107625bf6bd8fb1a2fa079c2808f15405b4] # # patch "tests/fail_cleanly_on_unreadable__MTN_options/__driver__.lua" # from [5fb46803b3c7ede9ea819043d101e008eb52bf5e] # to [69f6de9a36e8ea25ec26546a3f0b013d7d6e1833] # ============================================================ --- ChangeLog a0f2c86751affbf2343049243b293ba6ac96f801 +++ ChangeLog 12cf8107625bf6bd8fb1a2fa079c2808f15405b4 @@ -1,5 +1,11 @@ 2006-07-06 Timothy Brownawell + * tests/fail_cleanly_on_unreadable__MTN_options/__driver__.lua: + Monotone now checks that it was given a command before it looks at + _MTN. So, check that "mtn status" fails properly, instead of just "mtn". + +2006-07-06 Timothy Brownawell + * tester.cc: New function, does approximately "chmod -R u+rwx". * tester.lua: Use this on things we copy from the test dir to the scratch dir. This should fix the failures on the distcheck buildbots. ============================================================ --- tests/fail_cleanly_on_unreadable__MTN_options/__driver__.lua 5fb46803b3c7ede9ea819043d101e008eb52bf5e +++ tests/fail_cleanly_on_unreadable__MTN_options/__driver__.lua 69f6de9a36e8ea25ec26546a3f0b013d7d6e1833 @@ -9,4 +9,4 @@ check({"chmod", "u+rwx", "_MTN/"}) end +check(raw_mtn("status"), 1, false, false) -check(raw_mtn(), 1, false, false)