diff options
-rw-r--r-- | regress/Makefile | 2 | ||||
-rw-r--r-- | regress/test-exec.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/regress/Makefile b/regress/Makefile index 1eef340a7..99a7d60f5 100644 --- a/regress/Makefile +++ b/regress/Makefile | |||
@@ -184,7 +184,7 @@ t12.out: | |||
184 | ${TEST_SSH_SSHKEYGEN} -q -t ed25519 -N '' -C 'test-comment-1234' -f $(OBJ)/$@ | 184 | ${TEST_SSH_SSHKEYGEN} -q -t ed25519 -N '' -C 'test-comment-1234' -f $(OBJ)/$@ |
185 | 185 | ||
186 | t12: t12.out | 186 | t12: t12.out |
187 | ${TEST_SSH_SSHKEYGEN} -lf $(OBJ)/t12.out.pub | grep -q test-comment-1234 | 187 | ${TEST_SSH_SSHKEYGEN} -lf $(OBJ)/t12.out.pub | grep test-comment-1234 >/dev/null |
188 | 188 | ||
189 | t-exec: ${LTESTS:=.sh} | 189 | t-exec: ${LTESTS:=.sh} |
190 | @if [ "x$?" = "x" ]; then exit 0; fi; \ | 190 | @if [ "x$?" = "x" ]; then exit 0; fi; \ |
diff --git a/regress/test-exec.sh b/regress/test-exec.sh index 12ba094a9..0f766620d 100644 --- a/regress/test-exec.sh +++ b/regress/test-exec.sh | |||
@@ -381,7 +381,7 @@ fatal () | |||
381 | 381 | ||
382 | ssh_version () | 382 | ssh_version () |
383 | { | 383 | { |
384 | echo ${SSH_PROTOCOLS} | grep -q "$1" | 384 | echo ${SSH_PROTOCOLS} | grep "$1" >/dev/null |
385 | } | 385 | } |
386 | 386 | ||
387 | RESULT=0 | 387 | RESULT=0 |