From: Martin Mares Date: Mon, 27 Jan 2014 13:42:58 +0000 (+0100) Subject: Opt: Fixed a test case X-Git-Tag: v5.99~25^2~27 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=3a61985024a797f8b7499006ee72e9706f01149e;p=libucw.git Opt: Fixed a test case --- diff --git a/ucw/opt.t b/ucw/opt.t index 1c7aca6e..02a3d5ef 100644 --- 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