aboutsummaryrefslogtreecommitdiff
path: root/test/lib
diff options
context:
space:
mode:
authorJ08nY2017-04-12 23:18:15 +0200
committerJ08nY2017-04-12 23:18:15 +0200
commit646dc9c8ee00144908ff66d7f4741cce3adb28ae (patch)
tree16c60d45f20df230e1ea564469bf21ff9359b944 /test/lib
parent871e137f7ac939535427221c37b66d8b1c3f69b5 (diff)
downloadecgen-646dc9c8ee00144908ff66d7f4741cce3adb28ae.tar.gz
ecgen-646dc9c8ee00144908ff66d7f4741cce3adb28ae.tar.zst
ecgen-646dc9c8ee00144908ff66d7f4741cce3adb28ae.zip
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/assert.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/assert.sh b/test/lib/assert.sh
index c9c8f31..203b2d6 100644
--- a/test/lib/assert.sh
+++ b/test/lib/assert.sh
@@ -120,7 +120,7 @@ assert_matches() {
[[ -z "$DISCOVERONLY" ]] || return
expected_expr=$(echo -ne "${2:-}")
result="$(eval 2>/dev/null $1 <<< ${3:-})" || true
- if echo "$result" | grep -q "$expected_expr"; then
+ if echo "$result" | grep -E -q "$expected_expr"; then
[[ -z "$DEBUG" ]] || echo -n .
return
fi