summaryrefslogtreecommitdiff
path: root/tests/basic
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@finestructure.net>2009-02-21 17:12:33 -0500
committerJameson Graef Rollins <jrollins@finestructure.net>2009-02-21 17:12:33 -0500
commitbf8d981ed43744d6678fbc0bc2de845be28f885f (patch)
tree663722e074ecb99d43768c86e608de07bb66c2ad /tests/basic
parent9e5a8d819afd3ded051bef739dbc4bfb1446dc2e (diff)
fix bug in ssh connection test
Diffstat (limited to 'tests/basic')
-rwxr-xr-xtests/basic2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/basic b/tests/basic
index 9c5b280..9308e21 100755
--- a/tests/basic
+++ b/tests/basic
@@ -51,6 +51,8 @@ gpgadmin() {
# test ssh connection
# first argument is expected return code from ssh connection
ssh_test() {
+ local RETURN=0
+
umask 0077
CODE=${1:-0}