From 3a61985024a797f8b7499006ee72e9706f01149e Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 27 Jan 2014 14:42:58 +0100 Subject: [PATCH] Opt: Fixed a test case --- ucw/opt.t | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.39.2