Jim Meyering wrote: > grep snapshot: > http://meyering.net/grep/grep-2.11.11-b00d1.tar.xz
On Linux/glibc systems with various CPUs: All tests passed. On OpenBSD 4.9: All tests passed. On Solaris 11 2011-11: All tests passed. =============================================================================== On MacOS X 10.5: FAIL: in-eq-out-infloop This is due to the '...' vs. ‘...’ mismatch (still on my TODO list to follow up to your ideas). =============================================================================== On NetBSD 5.1: FAIL: symlink FAIL: symlink ============= grep: e: No such file or directory --- exp 2012-04-11 16:30:23.000000000 +0200 +++ out 2012-04-11 16:30:23.000000000 +0200 @@ -1,3 +1,4 @@ +Binary file d matches a:a b:b c:a 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 =============================================================================== On Cygwin 1.7.9: FAIL: case-fold-char-range FAIL: spencer1-locale FAIL: case-fold-char-range ========================== ++ initial_cwd_=/home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/tests gt-case-fold-char-range.XXXX +++ case $# in +++ destdir_=/home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/tests +++ template_=gt-case-fold-char-range.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR +++ d=/home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/tests/gt-case-fold-char-range.haW4 +++ case $d in +++ test -d /home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/tests/gt-case-fold-char-range.haW4 ++++ ls -dgo /home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/tests/gt-case-fold-char-range.haW4 ++++ tr S - +++ perms='drwx------+ 1 0 Apr 11 18:43 /home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/tests/gt-case-fold-char-range.haW4' +++ case $perms in +++ test 0 = 0 +++ echo /home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/tests/gt-case-fold-char-range.haW4 +++ return ++ test_dir_=/home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/tests/gt-case-fold-char-range.haW4 ++ cd /home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/tests/gt-case-fold-char-range.haW4 ++ 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 ++ cd /home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/tests/../src ++ echo /home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/src + abs_path_dir_=/home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/src + case $abs_path_dir_ in + PATH=/home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/src:/home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/src:/usr/local/cygwin/bin:/usr/local/bin:/usr/bin:/usr/local/bin:/usr/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem + create_exe_shims_ /home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + printf 'A\nZ\n' + fail=0 + for LOC in en_US.UTF-8 zh_CN '$LOCALE_FR_UTF8' + out=out1-en_US.UTF-8 + printf 'A\n1\nZ\n.\n' + LC_ALL=en_US.UTF-8 + grep -i '[a-z]' + compare exp1 out1-en_US.UTF-8 + compare_dev_null_ exp1 out1-en_US.UTF-8 + test 2 = 2 + test xexp1 = x/dev/null + test xout1-en_US.UTF-8 = x/dev/null + return 2 + case $? in + compare_ exp1 out1-en_US.UTF-8 + diff -u exp1 out1-en_US.UTF-8 + for LOC in en_US.UTF-8 zh_CN '$LOCALE_FR_UTF8' + out=out1-zh_CN + printf 'A\n1\nZ\n.\n' + LC_ALL=zh_CN + grep -i '[a-z]' + compare exp1 out1-zh_CN + compare_dev_null_ exp1 out1-zh_CN + test 2 = 2 + test xexp1 = x/dev/null + test xout1-zh_CN = x/dev/null + return 2 + case $? in + compare_ exp1 out1-zh_CN + diff -u exp1 out1-zh_CN --- exp1 2012-04-11 18:43:51.920125000 +0200 +++ out1-zh_CN 2012-04-11 18:43:52.342000000 +0200 @@ -1,2 +1,4 @@ A +1 Z +. + fail=1 + for LOC in en_US.UTF-8 zh_CN '$LOCALE_FR_UTF8' + out=out1-fr_FR.UTF-8 + printf 'A\n1\nZ\n.\n' + LC_ALL=fr_FR.UTF-8 + grep -i '[a-z]' + compare exp1 out1-fr_FR.UTF-8 + compare_dev_null_ exp1 out1-fr_FR.UTF-8 + test 2 = 2 + test xexp1 = x/dev/null + test xout1-fr_FR.UTF-8 = x/dev/null + return 2 + case $? in + compare_ exp1 out1-fr_FR.UTF-8 + diff -u exp1 out1-fr_FR.UTF-8 + printf 'a\nz\n' + for LOC in en_US.UTF-8 zh_CN '$LOCALE_FR_UTF8' + out=out2-en_US.UTF-8 + printf 'a\n1\nz\n.\n' + LC_ALL=en_US.UTF-8 + grep -i '[A-Z]' + compare exp2 out2-en_US.UTF-8 + compare_dev_null_ exp2 out2-en_US.UTF-8 + test 2 = 2 + test xexp2 = x/dev/null + test xout2-en_US.UTF-8 = x/dev/null + return 2 + case $? in + compare_ exp2 out2-en_US.UTF-8 + diff -u exp2 out2-en_US.UTF-8 + for LOC in en_US.UTF-8 zh_CN '$LOCALE_FR_UTF8' + out=out2-zh_CN + printf 'a\n1\nz\n.\n' + LC_ALL=zh_CN + grep -i '[A-Z]' + compare exp2 out2-zh_CN + compare_dev_null_ exp2 out2-zh_CN + test 2 = 2 + test xexp2 = x/dev/null + test xout2-zh_CN = x/dev/null + return 2 + case $? in + compare_ exp2 out2-zh_CN + diff -u exp2 out2-zh_CN --- exp2 2012-04-11 18:43:52.623250000 +0200 +++ out2-zh_CN 2012-04-11 18:43:52.951375000 +0200 @@ -1,2 +1,4 @@ a +1 z +. + fail=1 + for LOC in en_US.UTF-8 zh_CN '$LOCALE_FR_UTF8' + out=out2-fr_FR.UTF-8 + printf 'a\n1\nz\n.\n' + LC_ALL=fr_FR.UTF-8 + grep -i '[A-Z]' + compare exp2 out2-fr_FR.UTF-8 + compare_dev_null_ exp2 out2-fr_FR.UTF-8 + test 2 = 2 + test xexp2 = x/dev/null + test xout2-fr_FR.UTF-8 = x/dev/null + return 2 + case $? in + compare_ exp2 out2-fr_FR.UTF-8 + diff -u exp2 out2-fr_FR.UTF-8 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + cd /home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/tests + chmod -R u+rwx /home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/tests/gt-case-fold-char-range.haW4 + rm -rf /home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/tests/gt-case-fold-char-range.haW4 + exit 1 FAIL: spencer1-locale ===================== ++ initial_cwd_=/home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/tests gt-spencer1-locale.XXXX +++ case $# in +++ destdir_=/home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/tests +++ template_=gt-spencer1-locale.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR +++ d=/home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/tests/gt-spencer1-locale.F0S5 +++ case $d in +++ test -d /home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/tests/gt-spencer1-locale.F0S5 ++++ ls -dgo /home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/tests/gt-spencer1-locale.F0S5 ++++ tr S - +++ perms='drwx------+ 1 0 Apr 11 18:48 /home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/tests/gt-spencer1-locale.F0-5' +++ case $perms in +++ test 0 = 0 +++ echo /home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/tests/gt-spencer1-locale.F0S5 +++ return ++ test_dir_=/home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/tests/gt-spencer1-locale.F0S5 ++ cd /home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/tests/gt-spencer1-locale.F0S5 ++ 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 ++ cd /home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/tests/../src ++ echo /home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/src + abs_path_dir_=/home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/src + case $abs_path_dir_ in + PATH=/home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/src:/home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/src:/usr/local/cygwin/bin:/usr/local/bin:/usr/bin:/usr/local/bin:/usr/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem + create_exe_shims_ /home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + fail=0 + gawk -v extra_locale=fr_FR.UTF-8 -f /home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/tests/spencer1-locale.awk /home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/tests/spencer1.tests + /bin/sh spencer1-locale.script Spencer test #184 failed (zh_CN) + fail=1 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + cd /home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/tests + chmod -R u+rwx /home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/tests/gt-spencer1-locale.F0S5 + rm -rf /home/bruno/multibuild-2051/cygwin1.7.9/grep-2.11.11-b00d1/tests/gt-spencer1-locale.F0S5 + exit 1 =============================================================================== On mingw: 8 tests failed. FAIL: bre FAIL: ignore-mmap FAIL: include-exclude FAIL: khadafy FAIL: r-dot FAIL: reversed-range-endpoints FAIL: symlink FAIL: word-multi-file =============================================================================== Bruno
