Debian Codegraph @

tests/dfa-infloop

raw
1 #!/bin/sh
2 # This would infloop for some unreleased versions between 2.26 and 2.27
3 . "${srcdir=.}/init.sh"; path_prepend_ ../src
4
5 require_timeout_
6
7 fail=0
8
9 echo cx > in || framework_failure_
10 returns_ 1 timeout 10 env LC_ALL=C grep -E 'c\b[x ]' in || fail=1
11
12 Exit $fail