[or-cvs] integrated use of getoption() into OR. removed getargs() an...

Roger Dingledine arma at mit.edu
Mon Jul 15 20:25:00 UTC 2002


On Mon, Jul 15, 2002 at 08:49:35AM -0400, Bruce Montrose wrote:
> Also, if you run "make check" it should run my test program which should parse
> all your config files and display the options that were specified within them.
> Please run this and let me know if that works for you as well.

Running with CoinWeight 0.01 on moria1 and moria2, and 0.0 on moria3:
(I've added a LinkPadding option in my current sandbox, but I don't
think that influences anything, since the problem is the same as before
I added that.)

[arma at moria or]$ make check
make  check-TESTS
make[1]: Entering directory `/home/arma/work/onion/cvs/src/or'
Config file test suite...

../config/moria1-orrc
--------------------
LogLevel=debug, GlobalRole=15
RouterFile=../config/routers.or, PrivateKeyFile=moria1-private
ORPort=9001, OPPort=9011, APPort=9021
CoinWeight=0.0100, MaxConn=100, TrafficShaping=1, LinkPadding=1
Test succeeded

../config/moria2-orrc
--------------------
LogLevel=debug, GlobalRole=15
RouterFile=../config/routers.or, PrivateKeyFile=moria2-private
ORPort=9002, OPPort=9012, APPort=9022
CoinWeight=0.0100, MaxConn=100, TrafficShaping=1, LinkPadding=1
Test succeeded

../config/moria3-orrc
--------------------
Usage: or [-v?] [-a <port>] [-w <weight>] [-f <file>] [-l <level>] [-m <max>]
        [-o <port>] [-p <port>] [-k <file>] [-r <file>] [-t <policy>]
        [-P <padding>] [-g <role>] [--usage]
../config/moria3-orrc: number too large or too small

Test failed!

 66.67 percent. 1 failures.
FAIL: test_config
===================
1 of 1 tests failed
===================
make[1]: *** [check-TESTS] Error 1
make[1]: Leaving directory `/home/arma/work/onion/cvs/src/or'
make: *** [check-am] Error 2



More information about the tor-commits mailing list