summaryrefslogtreecommitdiff
path: root/run_tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run_tests.sh')
-rwxr-xr-xrun_tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_tests.sh b/run_tests.sh
index a5ebb81..e185b3f 100755
--- a/run_tests.sh
+++ b/run_tests.sh
@@ -10,7 +10,7 @@ XFAILS="$PWD/test/xfails"
test_fail() {
t="$(basename $1)"
reason="$2"
- if grep -q "$t" "$XFAILS" ; then
+ if grep -q "^$t\b" "$XFAILS" ; then
echo -e '[\e[34;1mXFAIL\e[0m]'" $t: $reason"
((t_xfail++))
else