[Pkg-shadow-commits] r3582 - debian/trunk/tests/cktools/grpck/28_grpck_usage
Nicolas FRANÇOIS
nekral-guest at alioth.debian.org
Mon Nov 14 18:26:56 UTC 2011
Author: nekral-guest
Date: 2011-11-14 18:26:56 +0000 (Mon, 14 Nov 2011)
New Revision: 3582
Modified:
debian/trunk/tests/cktools/grpck/28_grpck_usage/grpck.test
Log:
Usage message reported to stdout with the now valid -h option
Modified: debian/trunk/tests/cktools/grpck/28_grpck_usage/grpck.test
===================================================================
--- debian/trunk/tests/cktools/grpck/28_grpck_usage/grpck.test 2011-11-14 18:26:01 UTC (rev 3581)
+++ debian/trunk/tests/cktools/grpck/28_grpck_usage/grpck.test 2011-11-14 18:26:56 UTC (rev 3582)
@@ -17,15 +17,8 @@
change_config
echo -n "Get grpck usage (grpck -h)..."
-grpck -h 2>tmp/usage.out && exit 1 || {
- status=$?
-}
-echo "OK"
+grpck -h >tmp/usage.out
-echo -n "Check returned status ($status)..."
-test "$status" = "1"
-echo "OK"
-
echo "grpck reported:"
echo "======================================================================="
cat tmp/usage.out
More information about the Pkg-shadow-commits
mailing list