tests: use /bin/echo to provide '-e' and elimination of some bashisms

This commit is contained in:
Nikos Mavrogiannopoulos
2015-05-22 06:53:50 +02:00
parent 95ae123a57
commit 96cf2ca674
4 changed files with 11 additions and 10 deletions

View File

@@ -6,6 +6,7 @@ fi
. ./common.sh
ECHO_E="/bin/echo -e"
if test -x /usr/bin/lockfile-create;then
LOCKFILE="lockfile-create docker"
UNLOCKFILE="lockfile-remove docker"
@@ -73,7 +74,7 @@ retrieve_user_info() {
grep "$MATCH" out$TMP
fi
ret=$?
if test $ret == 0;then
if test $ret = 0;then
break
fi
counter=`expr $counter + 1`