comparison tests/test-ssh @ 1168:235e0effa672

Fixed two tests to run with bourne shell.
author Thomas Arendsen Hein <thomas@intevation.de>
date Tue, 30 Aug 2005 19:42:58 +0200
parents 1032a505488c
children 7544700fd931
comparison
equal deleted inserted replaced
1167:8787d2d5fc7d 1168:235e0effa672
11 if [ $1 != "user@dummy" ] ; then 11 if [ $1 != "user@dummy" ] ; then
12 exit -1 12 exit -1
13 fi 13 fi
14 14
15 # check that we're in the right directory 15 # check that we're in the right directory
16 if \! [ -x dummyssh ] ; then 16 if [ ! -x dummyssh ] ; then
17 exit -1 17 exit -1
18 fi 18 fi
19 19
20 echo Got arguments 1:$1 2:$2 3:$3 4:$4 5:$5 >> dummylog 20 echo Got arguments 1:$1 2:$2 3:$3 4:$4 5:$5 >> dummylog
21 $2 21 $2