]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: Use egrep instead of grep -E.
authordtucker@openbsd.org <dtucker@openbsd.org>
Fri, 29 Mar 2024 10:40:07 +0000 (10:40 +0000)
committerDarren Tucker <dtucker@dtucker.net>
Fri, 29 Mar 2024 11:01:20 +0000 (22:01 +1100)
Some plaforms don't have the latter so this makes things easier
in -portable.

OpenBSD-Regress-ID: ff82260eb0db1f11130200b25d820cf73753bbe3

regress/sftp-cmds.sh

index b16bc309e8bc65f1894a8e68496cd32ba1a20a6d..9b08bde58a7cb00763bd2d251fcea12e00b68094 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: sftp-cmds.sh,v 1.18 2024/03/26 08:09:16 dtucker Exp $
+#      $OpenBSD: sftp-cmds.sh,v 1.19 2024/03/29 10:40:07 dtucker Exp $
 #      Placed in the Public Domain.
 
 # XXX - TODO: 
@@ -42,7 +42,7 @@ echo "ls ${OBJ}" | ${SFTP} -D ${SFTPSERVER} >/dev/null 2>&1 \
 
 verbose "$tid: shell"
 echo "!echo hi there" | ${SFTP} -D ${SFTPSERVER} 2>&1 | \
-       grep -E '^hi there$' >/dev/null || fail "shell failed"
+       egrep '^hi there$' >/dev/null || fail "shell failed"
 
 verbose "$tid: pwd"
 echo "pwd" | ${SFTP} -D ${SFTPSERVER} >/dev/null 2>&1 \