* tests/test-dfa-match.sh: Update timeout -t portability test to
accommodate Busybox 1.30.0 and newer.
+2020-09-17 Jim Meyering <meyering@fb.com>
+
+ test-dfa-match.sh: port timeout work-around to newer Busybox
+ * tests/test-dfa-match.sh: Update timeout -t portability test to
+ accommodate Busybox 1.30.0 and newer.
+
2020-09-16 Paul Eggert <eggert@cs.ucla.edu>
fnmatch: adjust to match glibc fix
path_prepend_ .
if (type timeout) >/dev/null 2>&1; then
- if timeout --help 2>&1 | grep BusyBox; then
+ # Busybox's timeout required -t until its 1.30.0 release on 2018-12-31,
+ # after which it became compatible with coreutils' timeout.
+ if timeout --help 2>&1 | grep BusyBox && timeout -t 0 true; then
timeout_10='timeout -t 10'
else
timeout_10='timeout 10'