From aa3cfa0c6f64be57f932f6d57ea031b4aa870588 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Thu, 16 Jan 2025 11:30:21 +0200 Subject: fix xfail message checking --- tests/scripts/gen-simple-xfail | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/scripts/gen-simple-xfail') diff --git a/tests/scripts/gen-simple-xfail b/tests/scripts/gen-simple-xfail index bb8c5ae..e35935a 100755 --- a/tests/scripts/gen-simple-xfail +++ b/tests/scripts/gen-simple-xfail @@ -12,8 +12,7 @@ do echo " @../ek $NAME/$NAME.ek > reports/$NAME/log 2>&1 \\" >> tests.mk echo " && echo 'Wrong retval' > reports/$NAME/OK \\" >> tests.mk echo " || :" >> tests.mk - echo " @grep '$EMSG' reports/$NAME/log > /dev/null; \\" >> tests.mk - echo " [ \$\$? -eq 0 ] \\" >> tests.mk + echo " @grep '$EMSG' reports/$NAME/log > /dev/null \\" >> tests.mk echo " && echo OK > reports/$NAME/OK \\" >> tests.mk echo " || echo EMSG > reports/$NAME/OK" >> tests.mk done -- cgit v1.3