Further optimizions and bugfixing of that

This commit is contained in:
Olof hagsand 2019-04-16 12:09:21 +02:00
parent 71da2ac6cb
commit d46ca41c8b
11 changed files with 482 additions and 352 deletions

View file

@ -212,7 +212,7 @@ expectfn(){
expect2=
fi
ret=$($cmd)
r=$?
r=$?
# echo "cmd:\"$cmd\""
# echo "retval:\"$retval\""
# echo "expect:\"$expect\""
@ -221,7 +221,7 @@ expectfn(){
if [ $r != $retval ]; then
echo -e "\e[31m\nError ($r != $retval) in Test$testnr [$testname]:"
echo -e "\e[0m:"
return
exit -1
fi
# if [ $r != 0 ]; then
# return