[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] tests failing with "unrecognized option"
From: |
Stephen Leake |
Subject: |
[Monotone-devel] tests failing with "unrecognized option" |
Date: |
Sat, 01 Sep 2007 08:55:52 -0400 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) |
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] tests failing with "unrecognized option",
Stephen Leake <=