Hello,
On 10/29/2014 02:29 PM, Jim Meyering wrote:
Thanks to many fixes and improvements by Paul Eggert and Norihiro Tanaka,
here is a pre-release snapshot:
grep snapshot:
http://meyering.net/grep/grep-ss.tar.xz 1.2 MB
http://meyering.net/grep/grep-ss.tar.xz.sig
http://meyering.net/grep/grep-2.20.72-d512.tar.xz
On Debian 7.6 (amd64, gcc 4.7.2) and Ubuntu 14.04.1 (amd64, gcc 4.8.2), these
fail:
XFAIL: triple-backref
FAIL: word-multibyte
Attached is the debian76.test-suite.log from Debian (Ubuntu seemed identical).
---
On OpenBSD5.5 (amd64, gcc 4.2.1) these failed:
XFAIL: equiv-classes
FAIL: word-multibyte
Attached is the openbsd55.test-suite.log.
---
On CentOS 7 (amd64, gcc 4.8.2),
GNU Hurd (x86, gcc 4.8.2),
OpenSUSE 13.1 (amd64, gcc 4.8.1)
this fails:
XFAIL: triple-backref
Attached are the logs.
---
On FreeBSD 9.3 (amd64, gcc 4.2.1), this fails:
===
XFAIL: equiv-classes
====================
<C3><A9>
XFAIL equiv-classes (exit status: 1)
===
---
On NetBSD 6.1.4, these fail:
XFAIL: equiv-classes
FAIL: symlink
FAIL: word-multibyte
Attached is netbsd614.test-suite.log
---
No failures on:
FreeBSD 10 (amd64, clang 3.3)
CentOS 6.5 (amd64, gcc 4.4.7)
Fedora 20 (amd64, gcc 4.8.3)
Regards,
- Assaf
=================================================
GNU grep 2.20.72-d512: tests/test-suite.log
=================================================
# TOTAL: 85
# PASS: 63
# SKIP: 20
# XFAIL: 1
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
XFAIL: triple-backref
=====================
+ initial_cwd_=/tmp/grep-2.20.72-d512/tests
+ fail=0
+ testdir_prefix_
+ printf gt
+ pfx_=gt
+ mktempd_ /tmp/grep-2.20.72-d512/tests gt-triple-backref.XXXX
+ destdir_=/tmp/grep-2.20.72-d512/tests
+ template_=gt-triple-backref.XXXX
+ MAX_TRIES_=4
+ unset TMPDIR
+ d=/tmp/grep-2.20.72-d512/tests/gt-triple-backref.4WEh
+ test -d /tmp/grep-2.20.72-d512/tests/gt-triple-backref.4WEh
+ ls -dgo /tmp/grep-2.20.72-d512/tests/gt-triple-backref.4WEh
+ tr S -
+ perms=drwx------ 2 4096 Oct 29 15:50 /tmp/grep-2.20.72-d512/tests/gt-triple-backref.4WEh
+ test 0 = 0
+ echo /tmp/grep-2.20.72-d512/tests/gt-triple-backref.4WEh
+ return
+ test_dir_=/tmp/grep-2.20.72-d512/tests/gt-triple-backref.4WEh
+ cd /tmp/grep-2.20.72-d512/tests/gt-triple-backref.4WEh
+ gl_init_sh_nl_=
+ IFS=
+ expr 1 + 128
+ eval trap 'Exit 129' 1
+ trap Exit 129 1
+ expr 2 + 128
+ eval trap 'Exit 130' 2
+ trap Exit 130 2
+ expr 3 + 128
+ eval trap 'Exit 131' 3
+ trap Exit 131 3
+ expr 13 + 128
+ eval trap 'Exit 141' 13
+ trap Exit 141 13
+ expr 15 + 128
+ eval trap 'Exit 143' 15
+ trap Exit 143 15
+ trap remove_tmp_ 0
+ path_prepend_ ../src
+ test 1 != 0
+ path_dir_=../src
+ abs_path_dir_=/tmp/grep-2.20.72-d512/tests/../src
+ PATH=/tmp/grep-2.20.72-d512/tests/../src:/tmp/grep-2.20.72-d512/src:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ create_exe_shims_ /tmp/grep-2.20.72-d512/tests/../src
+ return 0
+ shift
+ test 0 != 0
+ export PATH
+ failures=0
+ cat
+ gcc -std=gnu11 -c glibc.c
+ echo a
+ fail=0
+ grep -E (.?)(.?)(.?)\3\2\1 in
grep: regexec.c:1386: pop_fail_stack: Assertion `num >= 0' failed.
Aborted
+ fail=1
+ compare out in
+ compare_dev_null_ out in
+ test 2 = 2
+ test xout = x/dev/null
+ test xin = x/dev/null
+ return 2
+ compare_ out in
+ diff -u out in
--- out 2014-10-29 15:50:47.689879001 -0400
+++ in 2014-10-29 15:50:47.689879001 -0400
@@ -0,0 +1 @@
+a
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /tmp/grep-2.20.72-d512/tests
+ chmod -R u+rwx /tmp/grep-2.20.72-d512/tests/gt-triple-backref.4WEh
+ rm -rf /tmp/grep-2.20.72-d512/tests/gt-triple-backref.4WEh
+ exit 1
XFAIL triple-backref (exit status: 1)
FAIL: word-multibyte
====================
+ initial_cwd_=/tmp/grep-2.20.72-d512/tests
+ fail=0
+ testdir_prefix_
+ printf gt
+ pfx_=gt
+ mktempd_ /tmp/grep-2.20.72-d512/tests gt-word-multibyte.XXXX
+ destdir_=/tmp/grep-2.20.72-d512/tests
+ template_=gt-word-multibyte.XXXX
+ MAX_TRIES_=4
+ unset TMPDIR
+ d=/tmp/grep-2.20.72-d512/tests/gt-word-multibyte.JgtS
+ test -d /tmp/grep-2.20.72-d512/tests/gt-word-multibyte.JgtS
+ ls -dgo /tmp/grep-2.20.72-d512/tests/gt-word-multibyte.JgtS
+ tr S -
+ perms=drwx------ 2 4096 Oct 29 15:50 /tmp/grep-2.20.72-d512/tests/gt-word-multibyte.Jgt-
+ test 0 = 0
+ echo /tmp/grep-2.20.72-d512/tests/gt-word-multibyte.JgtS
+ return
+ test_dir_=/tmp/grep-2.20.72-d512/tests/gt-word-multibyte.JgtS
+ cd /tmp/grep-2.20.72-d512/tests/gt-word-multibyte.JgtS
+ gl_init_sh_nl_=
+ IFS=
+ expr 1 + 128
+ eval trap 'Exit 129' 1
+ trap Exit 129 1
+ expr 2 + 128
+ eval trap 'Exit 130' 2
+ trap Exit 130 2
+ expr 3 + 128
+ eval trap 'Exit 131' 3
+ trap Exit 131 3
+ expr 13 + 128
+ eval trap 'Exit 141' 13
+ trap Exit 141 13
+ expr 15 + 128
+ eval trap 'Exit 143' 15
+ trap Exit 143 15
+ trap remove_tmp_ 0
+ path_prepend_ ../src
+ test 1 != 0
+ path_dir_=../src
+ abs_path_dir_=/tmp/grep-2.20.72-d512/tests/../src
+ PATH=/tmp/grep-2.20.72-d512/tests/../src:/tmp/grep-2.20.72-d512/src:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ create_exe_shims_ /tmp/grep-2.20.72-d512/tests/../src
+ return 0
+ shift
+ test 0 != 0
+ export PATH
+ require_en_utf8_locale_
+ path_prepend_ .
+ test 1 != 0
+ path_dir_=.
+ abs_path_dir_=/tmp/grep-2.20.72-d512/tests/.
+ PATH=/tmp/grep-2.20.72-d512/tests/.:/tmp/grep-2.20.72-d512/tests/../src:/tmp/grep-2.20.72-d512/src:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ create_exe_shims_ /tmp/grep-2.20.72-d512/tests/.
+ return 0
+ shift
+ test 0 != 0
+ export PATH
+ get-mb-cur-max en_US.UTF-8
+ printf \xc3\xa1\n
+ LC_ALL=en_US.UTF-8
+ export LC_ALL
+ fail=0
+ out=out1-en_US.UTF-8
+ LC_ALL=en_US.UTF-8 grep \w in
+ compare in out1-en_US.UTF-8
+ compare_dev_null_ in out1-en_US.UTF-8
+ test 2 = 2
+ test xin = x/dev/null
+ test xout1-en_US.UTF-8 = x/dev/null
+ return 2
+ compare_ in out1-en_US.UTF-8
+ diff -u in out1-en_US.UTF-8
+ out=out2-en_US.UTF-8
+ LC_ALL=en_US.UTF-8 grep \W in
+ fail=1
+ compare /dev/null out2-en_US.UTF-8
+ compare_dev_null_ /dev/null out2-en_US.UTF-8
+ test 2 = 2
+ test x/dev/null = x/dev/null
+ test -s out2-en_US.UTF-8
+ emit_diff_u_header_ /dev/null out2-en_US.UTF-8
+ printf %s\n diff -u /dev/null out2-en_US.UTF-8 --- /dev/null 1970-01-01 +++ out2-en_US.UTF-8 1970-01-01
diff -u /dev/null out2-en_US.UTF-8
--- /dev/null 1970-01-01
+++ out2-en_US.UTF-8 1970-01-01
+ sed s/^/+/ out2-en_US.UTF-8
+\xc3\xa1
+ return 1
+ return 1
+ fail=1
+ out=out1-zh_CN
+ LC_ALL=zh_CN grep \w in
+ compare in out1-zh_CN
+ compare_dev_null_ in out1-zh_CN
+ test 2 = 2
+ test xin = x/dev/null
+ test xout1-zh_CN = x/dev/null
+ return 2
+ compare_ in out1-zh_CN
+ diff -u in out1-zh_CN
+ out=out2-zh_CN
+ LC_ALL=zh_CN grep \W in
+ fail=1
+ compare /dev/null out2-zh_CN
+ compare_dev_null_ /dev/null out2-zh_CN
+ test 2 = 2
+ test x/dev/null = x/dev/null
+ test -s out2-zh_CN
+ emit_diff_u_header_ /dev/null out2-zh_CN
+ printf %s\n diff -u /dev/null out2-zh_CN --- /dev/null 1970-01-01 +++ out2-zh_CN 1970-01-01
diff -u /dev/null out2-zh_CN
--- /dev/null 1970-01-01
+++ out2-zh_CN 1970-01-01
+ sed s/^/+/ out2-zh_CN
+\xc3\xa1
+ return 1
+ return 1
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /tmp/grep-2.20.72-d512/tests
+ chmod -R u+rwx /tmp/grep-2.20.72-d512/tests/gt-word-multibyte.JgtS
+ rm -rf /tmp/grep-2.20.72-d512/tests/gt-word-multibyte.JgtS
+ exit 1
FAIL word-multibyte (exit status: 1)
=================================================
GNU grep 2.20.72-d512: tests/test-suite.log
=================================================
# TOTAL: 85
# PASS: 58
# SKIP: 25
# XFAIL: 1
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
SKIP: backref-multibyte-slow
============================
backref-multibyte-slow: skipped test: your system lacks the timeout program
SKIP backref-multibyte-slow (exit status: 77)
SKIP: big-hole
==============
big-hole: skipped test: expensive: disabled by default
This test is relatively expensive, so it is disabled by default.
To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS
environment variable set to yes. E.g.,
env RUN_EXPENSIVE_TESTS=yes make check
or use the shortcut target of the toplevel Makefile,
make check-expensive
SKIP big-hole (exit status: 77)
SKIP: big-match
===============
big-match: skipped test: expensive: disabled by default
This test is relatively expensive, so it is disabled by default.
To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS
environment variable set to yes. E.g.,
env RUN_EXPENSIVE_TESTS=yes make check
or use the shortcut target of the toplevel Makefile,
make check-expensive
SKIP big-match (exit status: 77)
SKIP: empty
===========
empty: skipped test: your system lacks the timeout program
SKIP empty (exit status: 77)
XFAIL: equiv-classes
====================
é
XFAIL equiv-classes (exit status: 1)
SKIP: euc-mb
============
é
euc-mb: skipped test: EUC-JP locale not found
SKIP euc-mb (exit status: 77)
SKIP: fgrep-infloop
===================
fgrep-infloop: skipped test: your system lacks the timeout program
SKIP fgrep-infloop (exit status: 77)
SKIP: fmbtest
=============
fmbtest: skipped test: this system lacks the cs_CZ.UTF-8 locale
SKIP fmbtest (exit status: 77)
SKIP: in-eq-out-infloop
=======================
in-eq-out-infloop: skipped test: your system lacks the timeout program
SKIP in-eq-out-infloop (exit status: 77)
SKIP: invalid-multibyte-infloop
===============================
é
invalid-multibyte-infloop: skipped test: your system lacks the timeout program
SKIP invalid-multibyte-infloop (exit status: 77)
SKIP: long-line-vs-2GiB-read
============================
long-line-vs-2GiB-read: skipped test: expensive: disabled by default
This test is relatively expensive, so it is disabled by default.
To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS
environment variable set to yes. E.g.,
env RUN_EXPENSIVE_TESTS=yes make check
or use the shortcut target of the toplevel Makefile,
make check-expensive
SKIP long-line-vs-2GiB-read (exit status: 77)
SKIP: max-count-overread
========================
max-count-overread: skipped test: your system lacks the timeout program
SKIP max-count-overread (exit status: 77)
SKIP: mb-non-UTF8-overrun
=========================
mb-non-UTF8-overrun: skipped test: locale not found
SKIP mb-non-UTF8-overrun (exit status: 77)
SKIP: mb-non-UTF8-performance
=============================
mb-non-UTF8-performance: skipped test: your system lacks the timeout program
SKIP mb-non-UTF8-performance (exit status: 77)
SKIP: pcre
==========
pcre: skipped test: no PCRE support
SKIP pcre (exit status: 77)
SKIP: pcre-abort
================
pcre-abort: skipped test: no PCRE support
SKIP pcre-abort (exit status: 77)
SKIP: pcre-infloop
==================
pcre-infloop: skipped test: no PCRE support
SKIP pcre-infloop (exit status: 77)
SKIP: pcre-invalid-utf8-input
=============================
pcre-invalid-utf8-input: skipped test: no PCRE support
SKIP pcre-invalid-utf8-input (exit status: 77)
SKIP: pcre-o
============
pcre-o: skipped test: no PCRE support
SKIP pcre-o (exit status: 77)
SKIP: pcre-utf8
===============
pcre-utf8: skipped test: no PCRE support
SKIP pcre-utf8 (exit status: 77)
SKIP: pcre-w
============
pcre-w: skipped test: no PCRE support
SKIP pcre-w (exit status: 77)
SKIP: pcre-wx-backref
=====================
pcre-wx-backref: skipped test: no PCRE support
SKIP pcre-wx-backref (exit status: 77)
SKIP: pcre-z
============
pcre-z: skipped test: no PCRE support
SKIP pcre-z (exit status: 77)
SKIP: sjis-mb
=============
é
sjis-mb: skipped test: your system lacks the timeout program
SKIP sjis-mb (exit status: 77)
SKIP: triple-backref
====================
glibc.c:1:22: error: features.h: No such file or directory
glibc.c:4: error: expected identifier or '(' before string constant
triple-backref: skipped test: this test runs only on systems with glibc
SKIP triple-backref (exit status: 77)
SKIP: turkish-eyes
==================
é
turkish-eyes: skipped test: your tr_TR.UTF-8 locale appears to be broken
SKIP turkish-eyes (exit status: 77)
FAIL: word-multibyte
====================
--- in Wed Oct 29 16:01:52 2014
+++ out1-zh_CN Wed Oct 29 16:01:52 2014
@@ -1 +0,0 @@
-á
diff -u /dev/null out2-zh_CN
--- /dev/null 1970-01-01
+++ out2-zh_CN 1970-01-01
+á
FAIL word-multibyte (exit status: 1)
=================================================
GNU grep 2.20.72-d512: tests/test-suite.log
=================================================
# TOTAL: 85
# PASS: 58
# SKIP: 24
# XFAIL: 1
# FAIL: 2
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
SKIP: backref-multibyte-slow
============================
backref-multibyte-slow: skipped test: your system lacks the timeout program
SKIP backref-multibyte-slow (exit status: 77)
SKIP: big-hole
==============
big-hole: skipped test: expensive: disabled by default
This test is relatively expensive, so it is disabled by default.
To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS
environment variable set to yes. E.g.,
env RUN_EXPENSIVE_TESTS=yes make check
or use the shortcut target of the toplevel Makefile,
make check-expensive
SKIP big-hole (exit status: 77)
SKIP: big-match
===============
big-match: skipped test: expensive: disabled by default
This test is relatively expensive, so it is disabled by default.
To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS
environment variable set to yes. E.g.,
env RUN_EXPENSIVE_TESTS=yes make check
or use the shortcut target of the toplevel Makefile,
make check-expensive
SKIP big-match (exit status: 77)
SKIP: empty
===========
empty: skipped test: your system lacks the timeout program
SKIP empty (exit status: 77)
XFAIL: equiv-classes
====================
é
XFAIL equiv-classes (exit status: 1)
SKIP: euc-mb
============
é
euc-mb: skipped test: EUC-JP locale not found
SKIP euc-mb (exit status: 77)
SKIP: fgrep-infloop
===================
fgrep-infloop: skipped test: your system lacks the timeout program
SKIP fgrep-infloop (exit status: 77)
SKIP: fmbtest
=============
fmbtest: skipped test: this system lacks the cs_CZ.UTF-8 locale
SKIP fmbtest (exit status: 77)
SKIP: in-eq-out-infloop
=======================
in-eq-out-infloop: skipped test: your system lacks the timeout program
SKIP in-eq-out-infloop (exit status: 77)
SKIP: invalid-multibyte-infloop
===============================
é
invalid-multibyte-infloop: skipped test: your system lacks the timeout program
SKIP invalid-multibyte-infloop (exit status: 77)
SKIP: long-line-vs-2GiB-read
============================
long-line-vs-2GiB-read: skipped test: expensive: disabled by default
This test is relatively expensive, so it is disabled by default.
To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS
environment variable set to yes. E.g.,
env RUN_EXPENSIVE_TESTS=yes make check
or use the shortcut target of the toplevel Makefile,
make check-expensive
SKIP long-line-vs-2GiB-read (exit status: 77)
SKIP: max-count-overread
========================
max-count-overread: skipped test: your system lacks the timeout program
SKIP max-count-overread (exit status: 77)
SKIP: mb-non-UTF8-performance
=============================
mb-non-UTF8-performance: skipped test: your system lacks the timeout program
SKIP mb-non-UTF8-performance (exit status: 77)
SKIP: pcre
==========
pcre: skipped test: no PCRE support
SKIP pcre (exit status: 77)
SKIP: pcre-abort
================
pcre-abort: skipped test: no PCRE support
SKIP pcre-abort (exit status: 77)
SKIP: pcre-infloop
==================
pcre-infloop: skipped test: no PCRE support
SKIP pcre-infloop (exit status: 77)
SKIP: pcre-invalid-utf8-input
=============================
pcre-invalid-utf8-input: skipped test: no PCRE support
SKIP pcre-invalid-utf8-input (exit status: 77)
SKIP: pcre-o
============
pcre-o: skipped test: no PCRE support
SKIP pcre-o (exit status: 77)
SKIP: pcre-utf8
===============
pcre-utf8: skipped test: no PCRE support
SKIP pcre-utf8 (exit status: 77)
SKIP: pcre-w
============
pcre-w: skipped test: no PCRE support
SKIP pcre-w (exit status: 77)
SKIP: pcre-wx-backref
=====================
pcre-wx-backref: skipped test: no PCRE support
SKIP pcre-wx-backref (exit status: 77)
SKIP: pcre-z
============
pcre-z: skipped test: no PCRE support
SKIP pcre-z (exit status: 77)
SKIP: sjis-mb
=============
é
sjis-mb: skipped test: your system lacks the timeout program
SKIP sjis-mb (exit status: 77)
FAIL: symlink
=============
grep: e: No such file or directory
grep: c: Inappropriate file type or format
grep: d: Inappropriate file type or format
grep: e: Inappropriate file type or format
grep: d/c: Inappropriate file type or format
grep: d/d: Inappropriate file type or format
grep: d/e: Inappropriate file type or format
grep: e: No such file or directory
grep: warning: d: recursive directory loop
grep: e: No such file or directory
grep: warning: d/d: recursive directory loop
grep: d/e: No such file or directory
grep: e: No such file or directory
FAIL symlink (exit status: 1)
SKIP: triple-backref
====================
glibc.c:1:22: fatal error: features.h: No such file or directory
compilation terminated.
triple-backref: skipped test: this test runs only on systems with glibc
SKIP triple-backref (exit status: 77)
SKIP: turkish-eyes
==================
é
turkish-eyes: skipped test: your tr_TR.UTF-8 locale appears to be broken
SKIP turkish-eyes (exit status: 77)
FAIL: word-multibyte
====================
--- in 2014-10-29 20:28:18.000000000 +0000
+++ out1-zh_CN 2014-10-29 20:28:18.000000000 +0000
@@ -1 +0,0 @@
-á
diff -u /dev/null out2-zh_CN
--- /dev/null 1970-01-01
+++ out2-zh_CN 1970-01-01
+á
FAIL word-multibyte (exit status: 1)
=================================================
GNU grep 2.20.72-d512: tests/test-suite.log
=================================================
# TOTAL: 85
# PASS: 71
# SKIP: 13
# XFAIL: 1
# FAIL: 0
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
XFAIL: triple-backref
=====================
++ initial_cwd_=/tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/tests
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/tests gt-triple-backref.XXXX
+++ case $# in
+++ destdir_=/tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/tests
+++ template_=gt-triple-backref.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ case $template_ in
++++ unset TMPDIR
+++ d=/tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/tests/gt-triple-backref.5ed5
+++ case $d in
+++ test -d /tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/tests/gt-triple-backref.5ed5
++++ ls -dgo /tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/tests/gt-triple-backref.5ed5
++++ tr S -
+++ perms='drwx------. 2 6 Oct 29 16:34 /tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/tests/gt-triple-backref.5ed5'
+++ case $perms in
+++ test 0 = 0
+++ echo /tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/tests/gt-triple-backref.5ed5
+++ return
++ test_dir_=/tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/tests/gt-triple-backref.5ed5
++ cd /tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/tests/gt-triple-backref.5ed5
++ gl_init_sh_nl_='
'
++ IFS='
'
++ for sig_ in 1 2 3 13 15
+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
++ for sig_ in 1 2 3 13 15
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
++ for sig_ in 1 2 3 13 15
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
++ for sig_ in 1 2 3 13 15
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
++ for sig_ in 1 2 3 13 15
+++ expr 15 + 128
++ eval 'trap '\''Exit 143'\'' 15'
+++ trap 'Exit 143' 15
++ trap remove_tmp_ 0
+ path_prepend_ ../src
+ test 1 '!=' 0
+ path_dir_=../src
+ case $path_dir_ in
+ abs_path_dir_=/tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/tests/../src
+ case $abs_path_dir_ in
+ PATH=/tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/tests/../src:/tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/src:/usr/local/bin:/usr/bin
+ create_exe_shims_ /tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/tests/../src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ failures=0
+ cat
+ gcc -std=gnu11 -c glibc.c
+ echo a
+ fail=0
+ grep -E '(.?)(.?)(.?)\3\2\1' in
./triple-backref: line 32: 22934 Segmentation fault grep -E '(.?)(.?)(.?)\3\2\1' in > out
+ fail=1
+ compare out in
+ compare_dev_null_ out in
+ test 2 = 2
+ test xout = x/dev/null
+ test xin = x/dev/null
+ return 2
+ case $? in
+ compare_ out in
+ diff -u out in
--- out 2014-10-29 16:34:33.267000000 -0400
+++ in 2014-10-29 16:34:33.267000000 -0400
@@ -0,0 +1 @@
+a
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/tests
+ chmod -R u+rwx /tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/tests/gt-triple-backref.5ed5
+ rm -rf /tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/tests/gt-triple-backref.5ed5
+ exit 1
XFAIL triple-backref (exit status: 1)
=================================================
GNU grep 2.20.72-d512: tests/test-suite.log
=================================================
# TOTAL: 85
# PASS: 46
# SKIP: 38
# XFAIL: 1
# FAIL: 0
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
XFAIL: triple-backref
=====================
+ initial_cwd_=/tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/tests
+ fail=0
+ testdir_prefix_
+ printf gt
+ pfx_=gt
+ mktempd_ /tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/tests gt-triple-backref.XXXX
+ destdir_=/tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/tests
+ template_=gt-triple-backref.XXXX
+ MAX_TRIES_=4
+ unset TMPDIR
+ d=/tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/tests/gt-triple-backref.rRq3
+ test -d /tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/tests/gt-triple-backref.rRq3
+ ls -dgo /tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/tests/gt-triple-backref.rRq3
+ tr S -
+ perms=drwx------ 2 4096 Oct 29 16:42 /tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/tests/gt-triple-backref.rRq3
+ test 0 = 0
+ echo /tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/tests/gt-triple-backref.rRq3
+ return
+ test_dir_=/tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/tests/gt-triple-backref.rRq3
+ cd /tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/tests/gt-triple-backref.rRq3
+ gl_init_sh_nl_=
+ IFS=
+ expr 1 + 128
+ eval trap 'Exit 129' 1
+ trap Exit 129 1
+ expr 2 + 128
+ eval trap 'Exit 130' 2
+ trap Exit 130 2
+ expr 3 + 128
+ eval trap 'Exit 131' 3
+ trap Exit 131 3
+ expr 13 + 128
+ eval trap 'Exit 141' 13
+ trap Exit 141 13
+ expr 15 + 128
+ eval trap 'Exit 143' 15
+ trap Exit 143 15
+ trap remove_tmp_ 0
+ path_prepend_ ../src
+ test 1 != 0
+ path_dir_=../src
+ abs_path_dir_=/tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/tests/../src
+ PATH=/tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/tests/../src:/tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/src:/usr/local/bin:/usr/bin:/bin:/usr/games
+ create_exe_shims_ /tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/tests/../src
+ return 0
+ shift
+ test 0 != 0
+ export PATH
+ failures=0
+ cat
+ gcc -std=gnu11 -c glibc.c
+ echo a
+ fail=0
+ grep -E (.?)(.?)(.?)\3\2\1 in
grep: regexec.c:1386: pop_fail_stack: Assertion `num >= 0' failed.
Aborted
+ fail=1
+ compare out in
+ compare_dev_null_ out in
+ test 2 = 2
+ test xout = x/dev/null
+ test xin = x/dev/null
+ return 2
+ compare_ out in
+ diff -u out in
--- out 2014-10-29 16:42:18.000000000 -0400
+++ in 2014-10-29 16:42:18.000000000 -0400
@@ -0,0 +1 @@
+a
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/tests
+ chmod -R u+rwx /tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/tests/gt-triple-backref.rRq3
+ rm -rf /tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/tests/gt-triple-backref.rRq3
+ exit 1
XFAIL triple-backref (exit status: 1)
=================================================
GNU grep 2.20.72-d512: tests/test-suite.log
=================================================
# TOTAL: 85
# PASS: 71
# SKIP: 13
# XFAIL: 1
# FAIL: 0
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
XFAIL: triple-backref
=====================
++ initial_cwd_=/tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/tests
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/tests gt-triple-backref.XXXX
+++ case $# in
+++ destdir_=/tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/tests
+++ template_=gt-triple-backref.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ case $template_ in
++++ unset TMPDIR
+++ d=/tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/tests/gt-triple-backref.mLT4
+++ case $d in
+++ test -d /tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/tests/gt-triple-backref.mLT4
++++ tr S -
++++ ls -dgo /tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/tests/gt-triple-backref.mLT4
+++ perms='drwx------ 2 4096 Oct 29 16:47 /tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/tests/gt-triple-backref.mLT4'
+++ case $perms in
+++ test 0 = 0
+++ echo /tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/tests/gt-triple-backref.mLT4
+++ return
++ test_dir_=/tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/tests/gt-triple-backref.mLT4
++ cd /tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/tests/gt-triple-backref.mLT4
++ gl_init_sh_nl_='
'
++ IFS='
'
++ for sig_ in 1 2 3 13 15
+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
++ for sig_ in 1 2 3 13 15
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
++ for sig_ in 1 2 3 13 15
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
++ for sig_ in 1 2 3 13 15
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
++ for sig_ in 1 2 3 13 15
+++ expr 15 + 128
++ eval 'trap '\''Exit 143'\'' 15'
+++ trap 'Exit 143' 15
++ trap remove_tmp_ 0
+ path_prepend_ ../src
+ test 1 '!=' 0
+ path_dir_=../src
+ case $path_dir_ in
+ abs_path_dir_=/tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/tests/../src
+ case $abs_path_dir_ in
+ PATH=/tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/tests/../src:/tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/src:/home/miles/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games
+ create_exe_shims_ /tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/tests/../src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ failures=0
+ cat
+ gcc -std=gnu11 -c glibc.c
+ echo a
+ fail=0
+ grep -E '(.?)(.?)(.?)\3\2\1' in
grep: regexec.c:1401: pop_fail_stack: Assertion `num >= 0' failed.
./triple-backref: line 32: 22270 Aborted grep -E '(.?)(.?)(.?)\3\2\1' in > out
+ fail=1
+ compare out in
+ compare_dev_null_ out in
+ test 2 = 2
+ test xout = x/dev/null
+ test xin = x/dev/null
+ return 2
+ case $? in
+ compare_ out in
+ diff -u out in
--- out 2014-10-29 16:47:01.058725058 -0400
+++ in 2014-10-29 16:47:01.058725058 -0400
@@ -0,0 +1 @@
+a
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/tests
+ chmod -R u+rwx /tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/tests/gt-triple-backref.mLT4
+ rm -rf /tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/tests/gt-triple-backref.mLT4
+ exit 1
XFAIL triple-backref (exit status: 1)