diff options
Diffstat (limited to 't/test-driver-custom-xfail-tests.sh')
-rwxr-xr-x | t/test-driver-custom-xfail-tests.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/t/test-driver-custom-xfail-tests.sh b/t/test-driver-custom-xfail-tests.sh index 14568c096..d8455deab 100755 --- a/t/test-driver-custom-xfail-tests.sh +++ b/t/test-driver-custom-xfail-tests.sh @@ -143,8 +143,8 @@ $AUTOMAKE $MAKE check >stdout || { cat stdout; Exit 1; } cat stdout -test `grep -c '^PASS:' stdout` -eq 3 -test `grep -c '^XFAIL:' stdout` -eq 13 +test $(grep -c '^PASS:' stdout) -eq 3 +test $(grep -c '^XFAIL:' stdout) -eq 13 for dir in sub1 sub2; do cd $dir @@ -152,9 +152,9 @@ for dir in sub1 sub2; do cp x2.test pass.test $MAKE check >stdout && { cat stdout; Exit 1; } cat stdout - test "`cat pass.trs`" = ":test-result: FAIL" - test "`cat x1.trs`" = ":test-result: XPASS" - test "`cat x2.trs`" = ":test-result: XFAIL" + test "$(cat pass.trs)" = ":test-result: FAIL" + test "$(cat x1.trs)" = ":test-result: XPASS" + test "$(cat x2.trs)" = ":test-result: XFAIL" grep '^FAIL: pass\.test$' stdout grep '^XPASS: x1\.test$' stdout grep '^XFAIL: x2\.test$' stdout |