diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-06-23 09:23:58 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-06-23 09:23:58 +1000 |
commit | 6eabe6430418fa9051500bed9ca4b1ffb377e3ec (patch) | |
tree | 420924c950f8040d7dd88ee32ea96ee93df2b243 | |
parent | a8c73d3b8c471aaeca90e8d82e28014608bf2707 (diff) |
- dtucker@cvs.openbsd.org 2004/06/22 22:42:02
[regress/envpass.sh]
Add quoting for test -z; ok markus@
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | regress/envpass.sh | 6 |
2 files changed, 8 insertions, 4 deletions
@@ -2,6 +2,10 @@ | |||
2 | - (dtucker) [auth1.c] Ensure do_pam_account is called for Protocol 1 | 2 | - (dtucker) [auth1.c] Ensure do_pam_account is called for Protocol 1 |
3 | connections with empty passwords. Patch from davidwu at nbttech.com, | 3 | connections with empty passwords. Patch from davidwu at nbttech.com, |
4 | ok djm@ | 4 | ok djm@ |
5 | - (dtucker) OpenBSD CVS Sync | ||
6 | - dtucker@cvs.openbsd.org 2004/06/22 22:42:02 | ||
7 | [regress/envpass.sh] | ||
8 | Add quoting for test -z; ok markus@ | ||
5 | 9 | ||
6 | 20040622 | 10 | 20040622 |
7 | - (bal) [auth-passwd.c auth1.c] Clean up unused variables. | 11 | - (bal) [auth-passwd.c auth1.c] Clean up unused variables. |
@@ -1374,4 +1378,4 @@ | |||
1374 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 1378 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
1375 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 1379 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
1376 | 1380 | ||
1377 | $Id: ChangeLog,v 1.3433 2004/06/22 23:17:54 dtucker Exp $ | 1381 | $Id: ChangeLog,v 1.3434 2004/06/22 23:23:58 dtucker Exp $ |
diff --git a/regress/envpass.sh b/regress/envpass.sh index a5bae06dd..5a7e178d8 100644 --- a/regress/envpass.sh +++ b/regress/envpass.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: envpass.sh,v 1.2 2004/06/22 03:12:13 markus Exp $ | 1 | # $OpenBSD: envpass.sh,v 1.3 2004/06/22 22:42:02 dtucker Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="environment passing" | 4 | tid="environment passing" |
@@ -9,7 +9,7 @@ trace "pass env, don't accept" | |||
9 | verbose "test $tid: pass env, don't accept" | 9 | verbose "test $tid: pass env, don't accept" |
10 | _TEST_ENV=blah ${SSH} -oSendEnv="*" -F $OBJ/ssh_proxy otherhost \ | 10 | _TEST_ENV=blah ${SSH} -oSendEnv="*" -F $OBJ/ssh_proxy otherhost \ |
11 | sh << 'EOF' | 11 | sh << 'EOF' |
12 | test -z $_TEST_ENV | 12 | test -z "$_TEST_ENV" |
13 | EOF | 13 | EOF |
14 | r=$? | 14 | r=$? |
15 | if [ $r -ne 0 ]; then | 15 | if [ $r -ne 0 ]; then |
@@ -20,7 +20,7 @@ trace "don't pass env, accept" | |||
20 | verbose "test $tid: don't pass env, accept" | 20 | verbose "test $tid: don't pass env, accept" |
21 | ${SSH} -F $OBJ/ssh_proxy otherhost \ | 21 | ${SSH} -F $OBJ/ssh_proxy otherhost \ |
22 | sh << 'EOF' | 22 | sh << 'EOF' |
23 | test -z $_XXX_TEST_A && test -z $_XXX_TEST_B | 23 | test -z "$_XXX_TEST_A" && test -z "$_XXX_TEST_B" |
24 | EOF | 24 | EOF |
25 | r=$? | 25 | r=$? |
26 | if [ $r -ne 0 ]; then | 26 | if [ $r -ne 0 ]; then |