File: dfa-infloop

package info (click to toggle)
grep 3.11-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 16,392 kB
  • sloc: ansic: 95,031; sh: 12,720; perl: 606; makefile: 386; awk: 71; sed: 16
file content (12 lines) | stat: -rwxr-xr-x 268 bytes parent folder | download | duplicates (7)
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