From 186f0b002af3b7c16318b049f0c114a807035eb4 Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Mon, 14 Nov 2011 18:26:56 +0000 Subject: [PATCH] Usage message reported to stdout with the now valid -h option --- tests/cktools/grpck/28_grpck_usage/grpck.test | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/tests/cktools/grpck/28_grpck_usage/grpck.test b/tests/cktools/grpck/28_grpck_usage/grpck.test index a30d8c72..e397aafb 100755 --- a/tests/cktools/grpck/28_grpck_usage/grpck.test +++ b/tests/cktools/grpck/28_grpck_usage/grpck.test @@ -17,14 +17,7 @@ trap 'log_status "$0" "FAILURE"; restore_config' 0 change_config echo -n "Get grpck usage (grpck -h)..." -grpck -h 2>tmp/usage.out && exit 1 || { - status=$? -} -echo "OK" - -echo -n "Check returned status ($status)..." -test "$status" = "1" -echo "OK" +grpck -h >tmp/usage.out echo "grpck reported:" echo "======================================================================="