diff options
author | dtucker <dtucker> | 2004-06-22 23:23:58 +0000 |
---|---|---|
committer | dtucker <dtucker> | 2004-06-22 23:23:58 +0000 |
commit | b37410b2a87661fcc7f5c8f883a4bfd1aa0d1cae (patch) | |
tree | c864cd73d922970c1359430e6388b36cb686d309 /regress | |
parent | 6b4f6e20c803c2a4aed0e4d8fce67565bfa5787b (diff) | |
download | openssh-b37410b2a87661fcc7f5c8f883a4bfd1aa0d1cae.tar.gz |
- dtucker@cvs.openbsd.org 2004/06/22 22:42:02
[regress/envpass.sh]
Add quoting for test -z; ok markus@
Diffstat (limited to 'regress')
-rw-r--r-- | regress/envpass.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/envpass.sh b/regress/envpass.sh index a5bae06d..5a7e178d 100644 --- a/regress/envpass.sh +++ b/regress/envpass.sh @@ -1,4 +1,4 @@ -# $OpenBSD: envpass.sh,v 1.2 2004/06/22 03:12:13 markus Exp $ +# $OpenBSD: envpass.sh,v 1.3 2004/06/22 22:42:02 dtucker Exp $ # Placed in the Public Domain. tid="environment passing" @@ -9,7 +9,7 @@ trace "pass env, don't accept" verbose "test $tid: pass env, don't accept" _TEST_ENV=blah ${SSH} -oSendEnv="*" -F $OBJ/ssh_proxy otherhost \ sh << 'EOF' - test -z $_TEST_ENV + test -z "$_TEST_ENV" EOF r=$? if [ $r -ne 0 ]; then @@ -20,7 +20,7 @@ trace "don't pass env, accept" verbose "test $tid: don't pass env, accept" ${SSH} -F $OBJ/ssh_proxy otherhost \ sh << 'EOF' - test -z $_XXX_TEST_A && test -z $_XXX_TEST_B + test -z "$_XXX_TEST_A" && test -z "$_XXX_TEST_B" EOF r=$? if [ $r -ne 0 ]; then |