summaryrefslogtreecommitdiff
path: root/tests/dfa-infloop
blob: e35eef59f26853f7cb9c2c087e3f0ccc79dbcdcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# This would infloop for some unreleased versions between 2.26 and 2.27
. "${srcdir=.}/init.sh"; path_prepend_ ../src

require_timeout_

fail=0

echo cx > in || framework_failure_
returns_ 1 timeout 10 env LC_ALL=C grep -E 'c\b[x ]' in || fail=1

Exit $fail