summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Berger <stefanb@linux.vnet.ibm.com>2018-11-19 11:19:53 -0500
committerStefan Berger <stefanb@linux.vnet.ibm.com>2018-11-26 07:03:39 -0500
commitf770f31b1b6b4541664c486cac356f346444fc70 (patch)
tree27ab811f41385114f93e5f58acf1794f5f3066b8
parentbe2e60ae70b0fac7e43dea5faee2a80f58a758f7 (diff)
downloadgnutls-f770f31b1b6b4541664c486cac356f346444fc70.tar.gz
tests: tpm: Redirect help screen output to stdout
The dash shell doesn't seem to understand &>/dev/null, so use >/dev/null to quiet down the help screen check. Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
-rwxr-xr-xtests/tpmtool_test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tpmtool_test.sh b/tests/tpmtool_test.sh
index 50ba23e3f2..978727ca37 100755
--- a/tests/tpmtool_test.sh
+++ b/tests/tpmtool_test.sh
@@ -54,13 +54,13 @@ if [ -z "$(which expect 2>/dev/null)" ]; then
exit 77
fi
-$TPMTOOL --help &>/dev/null
+$TPMTOOL --help >/dev/null
if [ $? -ne 0 ]; then
echo "tpmtool cannot show help screen (TPMTOOL=$TPMTOOL)."
exit 77
fi
-$CERTTOOL --help &>/dev/null
+$CERTTOOL --help >/dev/null
if [ $? -ne 0 ]; then
echo "certtool cannot show help screen (CERTTOOL=$CERTTOOL)."
exit 77