]> mj.ucw.cz Git - libucw.git/commitdiff
Opt: Fixed a test case
authorMartin Mares <mj@ucw.cz>
Mon, 27 Jan 2014 13:42:58 +0000 (14:42 +0100)
committerMartin Mares <mj@ucw.cz>
Mon, 27 Jan 2014 13:42:58 +0000 (14:42 +0100)
ucw/opt.t

index 1c7aca6e2e80f4f1a5b7e9534cb66015ab6d82c0..02a3d5efc153e8321fa347d67cd92d0c9b2e57d5 100644 (file)
--- a/ucw/opt.t
+++ b/ucw/opt.t
@@ -1,8 +1,9 @@
 # Tests of the command line option parser
 
 Name:  Opt-1
-Run:   ../obj/ucw/opt-test 2>&1 1>/dev/null || [ $? -eq "2" ]
-Out:   Required option -t not found.
+Run:   ../obj/ucw/opt-test 2>&1 1>/dev/null
+Exit:  2
+Out:   Required option -t/--temperature not found.
        Run with argument --help for more information.
 
 Name:  Opt-2