diff options
| author | J08nY | 2017-04-12 23:18:15 +0200 |
|---|---|---|
| committer | J08nY | 2017-04-12 23:18:15 +0200 |
| commit | 646dc9c8ee00144908ff66d7f4741cce3adb28ae (patch) | |
| tree | 16c60d45f20df230e1ea564469bf21ff9359b944 /test/lib | |
| parent | 871e137f7ac939535427221c37b66d8b1c3f69b5 (diff) | |
| download | ecgen-646dc9c8ee00144908ff66d7f4741cce3adb28ae.tar.gz ecgen-646dc9c8ee00144908ff66d7f4741cce3adb28ae.tar.zst ecgen-646dc9c8ee00144908ff66d7f4741cce3adb28ae.zip | |
Diffstat (limited to 'test/lib')
| -rw-r--r-- | test/lib/assert.sh | 2 |
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 |
