test: fix parser to prefer binop over unop, as coreutils does.
authorDenis Vlasenko <vda.linux@googlemail.com>
Sat, 19 Jul 2008 08:15:13 +0000 (08:15 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sat, 19 Jul 2008 08:15:13 +0000 (08:15 -0000)
commitbd28f6bf7f53ede8df39112d40cb52f2a3d00177
tree0e2cc7fa0864c8998d4483fc2398a3c3e9791a0f
parent5f116629d80b66bd09d8dc2b849befb1e27cd21a
test: fix parser to prefer binop over unop, as coreutils does.
 remove bogus workaround in main(). rename atrocious variables/functions.
 much expand testsuite.
libbb: fix --help to not affect "test --help"

function                                             old     new   delta
run_applet_no_and_exit                               421     440     +19
nexpr                                                817     825      +8
static.no_op                                           -       6      +6
test_main                                            397     257    -140
------------------------------------------------------------------------------
(add/remove: 2/1 grow/shrink: 2/1 up/down: 104/-211)         Total: -107 bytes
coreutils/test.c
libbb/appletlib.c
testsuite/test.tests