diff --git a/tests/webapp-test/run-webapp-test.sh b/tests/webapp-test/run-webapp-test.sh index 7877a2d3..5e341726 100755 --- a/tests/webapp-test/run-webapp-test.sh +++ b/tests/webapp-test/run-webapp-test.sh @@ -44,8 +44,8 @@ if [ $? -ne 1 ]; then fi grep "$UUID" test.after > /dev/null -if [ $? -ne 1 ]; then - echo "Found $UUID in before ouput." +if [ $? -ne 0 ]; then + echo "Unable to find $UUID in after ouput." exit 1 fi