File: dfa-infloop

package info (click to toggle)
grep 3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 13,404 kB
  • sloc: ansic: 77,930; sh: 10,347; perl: 567; makefile: 364; 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