File: dfa-infloop

package info (click to toggle)
grep 2.27-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 12,844 kB
  • ctags: 7,321
  • sloc: ansic: 69,540; sh: 10,958; perl: 564; makefile: 363; awk: 71; sed: 16
file content (12 lines) | stat: -rwxr-xr-x 268 bytes parent folder | download | duplicates (9)
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