# # # patch "ChangeLog" # from [d5d480ad7df9b07f3e32b39dfcdd9208c61da5af] # to [8f20240eb43d154d98ed0e1ee40538887f03fefb] # # patch "tests/t_mtn_ignore.at" # from [311fe37b0b5b1880df0a6f42c1af01c35a072b2e] # to [2b1968c730fcef03b41fd4f33124e43521f2772d] # ============================================================ --- ChangeLog d5d480ad7df9b07f3e32b39dfcdd9208c61da5af +++ ChangeLog 8f20240eb43d154d98ed0e1ee40538887f03fefb @@ -1,5 +1,8 @@ 2006-04-19 Matthew Gregan + * tests/t_mtn_ignore.at: Tweak test so it would have detected the + broken .mtn-ignore error handling fixed in the last commit. + * std_hooks.lua (ignore_file): Fix up error handling for non-existent .mtn-ignore files. ============================================================ --- tests/t_mtn_ignore.at 311fe37b0b5b1880df0a6f42c1af01c35a072b2e +++ tests/t_mtn_ignore.at 2b1968c730fcef03b41fd4f33124e43521f2772d @@ -30,9 +30,12 @@ AT_CHECK(grep bar ignored, [], [ignore]) AT_CHECK(grep xyzzy ignored, [], [ignore]) AT_CHECK(grep WARNING ignorederr, [], [ignore]) +AT_CHECK(grep -v WARNING ignorederr | grep -v ignoring, [1], [ignore]) AT_CHECK(rm .mtn-ignore) AT_CHECK(RAW_MTN ls ignored, [], [stdout], [stderr]) AT_CHECK(grep test.db stdout, [], [ignore]) +AT_CHECK(grep WARNING stderr, [1], [ignore]) +AT_CHECK(grep -v WARNING stderr| grep -v ignoring, [1], [ignore]) AT_CLEANUP