test: parse arguments before any other stuff
authorPeter Hutterer <peter.hutterer@who-t.net>
Mon, 25 Jun 2018 06:06:34 +0000 (16:06 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 26 Jun 2018 03:51:23 +0000 (13:51 +1000)
commit76233364b17c3228f27873e478fc8be3b0c1602f
treea8540003e67868cd8ee089ff037944184363a290
parent237ebb7cc4e9bf035891176acb08b1bf558ee989
test: parse arguments before any other stuff

If the args are bad, we don't need to check for root and whatnot.

Only exception here is the debugger check because it changes defaults that we
may want to override with commandline arguments later.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/litest.c