# # # patch "ChangeLog" # from [f13a903faafece1cd7406781fc73382ed4a5e4ed] # to [fa3b91f5759ab486bc621019b5ba982245d41732] # # patch "tests/checking_a_few_command_specific_options/__driver__.lua" # from [76a00dae43cdd5c6d0f0349b0d1f91b7c8cf1617] # to [4923152c220174e8fad7586b6e4f09fc05c7d646] # ============================================================ --- ChangeLog f13a903faafece1cd7406781fc73382ed4a5e4ed +++ ChangeLog fa3b91f5759ab486bc621019b5ba982245d41732 @@ -1,5 +1,10 @@ 2006-07-05 Nathaniel Smith + * tests/checking_a_few_command_specific_options/__driver__.lua + (output): Fix test to actually work. + +2006-07-05 Nathaniel Smith + * monotone.cc (cpp_main): Tyop in previous commit. 2006-07-05 Nathaniel Smith ============================================================ --- tests/checking_a_few_command_specific_options/__driver__.lua 76a00dae43cdd5c6d0f0349b0d1f91b7c8cf1617 +++ tests/checking_a_few_command_specific_options/__driver__.lua 4923152c220174e8fad7586b6e4f09fc05c7d646 @@ -16,4 +16,5 @@ -- message: check(mtn("--branch=testbranch", "loggg"), 1, "", true) output = readfile("stderr") +-- 'not not' means 'coerce to bool' +check(string.find(output, "unknown command") ~= nil) -xfail_if(true, string.find(output, "unknown command"))