aboutsummaryrefslogtreecommitdiffstats
path: root/checks/genkey1024.test
diff options
context:
space:
mode:
Diffstat (limited to 'checks/genkey1024.test')
-rwxr-xr-xchecks/genkey1024.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/checks/genkey1024.test b/checks/genkey1024.test
index e613160f5..ac1868e3d 100755
--- a/checks/genkey1024.test
+++ b/checks/genkey1024.test
@@ -3,7 +3,7 @@
. $srcdir/defs.inc || exit 3
-if which expect ; then
+if (expect -v) < /dev/null > /dev/null 2>&1 ; then
:
else
echo "\"expect\" needed but not found - test skipped"
@@ -13,7 +13,7 @@ fi
LANG=
LANGUAGE=
-expect - <<EOF
+expect - <<EOF >/dev/null
#set timeout -1
set timeout 8
match_max 100000