These tests are failing:

 17 _--author,_--date                             FAIL (exit 1)
 18 _--confdir_option_and_get_confdir_lua_function_work FAIL (exit 1)
 19 _--db_with_parent_dir                         FAIL (exit 1)
 20 _--rcfile=-                                   FAIL (exit 1)
 21 _--rcfile=directory                           FAIL (exit 1)
 22 _--rcfile_requires_extant_file                FAIL (exit 1)

They print an error message like:

unrecognized option '_--confdir_option_and_get_confdir_lua_function_work'error: 
incorrect self-invocation

The problem is this line in tester.cc parse_command_line:

      else if (argv[i][1] == '-')
        {
          P(F("unrecognized option '%s'") % argv[i]);

it should be:

      else if (argv[i][0] == '-' && argv[i][1] == '-')
        {
          P(F("unrecognized option '%s'") % argv[i]);

Ok to commit that fix?

-- 
-- Stephe



_______________________________________________
Monotone-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to