summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/include.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/include.rc b/tests/include.rc
index bc9784cf49b..585a4e2c885 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;
}