summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/include.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/include.rc b/tests/include.rc
index bc9784cf4..585a4e2c8 100644
--- a/tests/include.rc
+++ b/tests/include.rc
@@ -56,7 +56,7 @@ function _EXPECT()
e="$1";
shift;
- "$@" | tail -1 | egrep '^'${e}'$' >/dev/null 2>&1;
+ "$@" | tail -1 | egrep -q "^${e}\$"
test_footer;
}