On 11/09/2014 05:30 PM, Assaf Gordon wrote:

On 11/09/2014 04:00 PM, Jim Meyering wrote:
Testing the first snapshot exposed several problems,
and most have been addressed. The sole remaining problem
is the failure of an "expensive" (not run by default: big-match)
that makes most systems run out of memory. I haven't looked at it yet.

<...>

Please let us know if you find any problems.


No failures on the following VMs (amd64, tested without PCRE, and only 
non-expensive tests):
  freebsd 9.3
  freebsd 10
  openbsd 5.5
  netbsd 6.1.4

  debian 7.6
  gnewsense 3.1 (=debian 6)
  trisquel 6.0.1 (=ubuntu 12 LTS)
  ubuntu 14.04.1

  opensuse 13.1
  fedora 20
  centos 7

  GNU Hurd/Debian 0.5 (32-bit).



Two cases on less common OSes:

On DilOS 1.3.7, based on Illumos/OpenSolaris, "multibyte-white-space" fails.
log attached.
From a brief look, perhaps it has something to do with the recent "hex printf" 
change? not sure.
This is a weird system, as they try to use Illumos kernel with Debian user 
space,
so things could be mis-configured.
Few quick checks (relating to the "hex printf" implementation):
===
$ bash --version | head -n1
GNU bash, version 4.2.45(2)-release (x86_64-pc-solaris2.11)

$ printf --version

-bash: printf: --: invalid option
printf: usage: printf [-v var] format [arguments]

$ which printf
/usr/gnu/bin/printf

$ /usr/gnu/bin/printf --version | head -n1
printf (GNU coreutils) 8.21

$ which sed
/usr/gnu/bin/sed

$ $(which sed) --version | head -n1
/usr/gnu/bin/sed (GNU sed) 4.2.2
===


On MINIX R3.3.0, "symlinks" fails, which seems similar to the previous 
NetBSD6.1.4 issue.
Log attached.
I was not able to install Ktrace/Kdump yet.


I will sadly not be able to test more until next weekend.

Regards,
 - Assaf



==================================================
   GNU grep 2.20.83-06900: tests/test-suite.log
==================================================

# TOTAL: 85
# PASS:  62
# SKIP:  21
# XFAIL: 1
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: multibyte-white-space
===========================

++ initial_cwd_=/tmp/grep-2.20.83-06900.9QfptX/grep-2.20.83-06900/tests
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /tmp/grep-2.20.83-06900.9QfptX/grep-2.20.83-06900/tests gt-multibyte-white-space.XXXX
+++ case $# in
+++ destdir_=/tmp/grep-2.20.83-06900.9QfptX/grep-2.20.83-06900/tests
+++ template_=gt-multibyte-white-space.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ case $template_ in
++++ unset TMPDIR
+++ d=/tmp/grep-2.20.83-06900.9QfptX/grep-2.20.83-06900/tests/gt-multibyte-white-space.Kp1p
+++ case $d in
+++ test -d /tmp/grep-2.20.83-06900.9QfptX/grep-2.20.83-06900/tests/gt-multibyte-white-space.Kp1p
++++ ls -dgo /tmp/grep-2.20.83-06900.9QfptX/grep-2.20.83-06900/tests/gt-multibyte-white-space.Kp1p
++++ tr S -
++++ LC_ALL=C
++++ env -- tr S -
+++ perms='drwx------   2     117 Nov 10 01:12 /tmp/grep-2.20.83-06900.9QfptX/grep-2.20.83-06900/tests/gt-multibyte-white-space.Kp1p'
+++ case $perms in
+++ test 0 = 0
+++ echo /tmp/grep-2.20.83-06900.9QfptX/grep-2.20.83-06900/tests/gt-multibyte-white-space.Kp1p
+++ return
++ test_dir_=/tmp/grep-2.20.83-06900.9QfptX/grep-2.20.83-06900/tests/gt-multibyte-white-space.Kp1p
++ cd /tmp/grep-2.20.83-06900.9QfptX/grep-2.20.83-06900/tests/gt-multibyte-white-space.Kp1p
++ 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.83-06900.9QfptX/grep-2.20.83-06900/tests/../src
+ case $abs_path_dir_ in
+ PATH=/tmp/grep-2.20.83-06900.9QfptX/grep-2.20.83-06900/tests/../src:/tmp/grep-2.20.83-06900.9QfptX/grep-2.20.83-06900/src:/usr/gnu/bin:/usr/bin:/usr/sbin:/sbin
+ create_exe_shims_ /tmp/grep-2.20.83-06900.9QfptX/grep-2.20.83-06900/tests/../src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ require_en_utf8_locale_
+ path_prepend_ .
+ test 1 '!=' 0
+ path_dir_=.
+ case $path_dir_ in
+ abs_path_dir_=/tmp/grep-2.20.83-06900.9QfptX/grep-2.20.83-06900/tests/.
+ case $abs_path_dir_ in
+ PATH=/tmp/grep-2.20.83-06900.9QfptX/grep-2.20.83-06900/tests/.:/tmp/grep-2.20.83-06900.9QfptX/grep-2.20.83-06900/tests/../src:/tmp/grep-2.20.83-06900.9QfptX/grep-2.20.83-06900/src:/usr/gnu/bin:/usr/bin:/usr/sbin:/sbin
+ create_exe_shims_ /tmp/grep-2.20.83-06900.9QfptX/grep-2.20.83-06900/tests/.
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ case $(get-mb-cur-max en_US.UTF-8) in
++ get-mb-cur-max en_US.UTF-8
+ LC_ALL=en_US.UTF-8
+ export LC_ALL
+ these_fail_with_glibc='
U+00A0 NO-BREAK SPACE:            c2 a0
U+2007 FIGURE SPACE:              e2 80 87
U+200B ZERO WIDTH SPACE:          e2 80 8b
U+202F NARROW NO-BREAK SPACE:     e2 80 af
'
+ fail_with_other='
U+000A Line feed:                 0a
U+0085 Next line:                 85
'
++ sed 's/.*://;s/  */\\x/g'
+ utf8_space_characters='\x09
\x0b
\x0c
\x0d
\x20
\xe1\x9a\x80
\xe2\x80\x80
\xe2\x80\x81
\xe2\x80\x82
\xe2\x80\x83
\xe2\x80\x84
\xe2\x80\x85
\xe2\x80\x86
\xe2\x80\x88
\xe2\x80\x89
\xe2\x80\x8a
\xe2\x81\x9f
\xe3\x80\x80'
+ fail=0
+ for i in '$utf8_space_characters'
+ hex_printf_ '\x09'
+ grep -q '^\s$'
+++ printf '%s\n' '\x09'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0x09
+ local 'octal_fmt=\11'
+ printf '\11'
+ hex_printf_ '\x09'
+ grep -q '\S'
+++ printf '%s\n' '\x09'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0x09
+ local 'octal_fmt=\11'
+ printf '\11'
+ test 1 = 1
+ for i in '$utf8_space_characters'
+ hex_printf_ '\x0b'
+ grep -q '^\s$'
+++ printf '%s\n' '\x0b'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0x0b
+ local 'octal_fmt=\13'
+ printf '\13'
+ hex_printf_ '\x0b'
+ grep -q '\S'
+++ printf '%s\n' '\x0b'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0x0b
+ local 'octal_fmt=\13'
+ printf '\13'
+ test 1 = 1
+ for i in '$utf8_space_characters'
+ hex_printf_ '\x0c'
+ grep -q '^\s$'
+++ printf '%s\n' '\x0c'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0x0c
+ local 'octal_fmt=\14'
+ printf '\14'
+ hex_printf_ '\x0c'
+ grep -q '\S'
+++ printf '%s\n' '\x0c'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0x0c
+ local 'octal_fmt=\14'
+ printf '\14'
+ test 1 = 1
+ for i in '$utf8_space_characters'
+ hex_printf_ '\x0d'
+ grep -q '^\s$'
+++ printf '%s\n' '\x0d'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0x0d
+ local 'octal_fmt=\15'
+ printf '\15'
+ hex_printf_ '\x0d'
+ grep -q '\S'
+++ printf '%s\n' '\x0d'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0x0d
+ local 'octal_fmt=\15'
+ printf '\15'
+ test 1 = 1
+ for i in '$utf8_space_characters'
+ hex_printf_ '\x20'
+ grep -q '^\s$'
+++ printf '%s\n' '\x20'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0x20
+ local 'octal_fmt=\40'
+ printf '\40'
+ hex_printf_ '\x20'
+ grep -q '\S'
+++ printf '%s\n' '\x20'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0x20
+ local 'octal_fmt=\40'
+ printf '\40'
+ test 1 = 1
+ for i in '$utf8_space_characters'
+ hex_printf_ '\xe1\x9a\x80'
+ grep -q '^\s$'
+++ printf '%s\n' '\xe1\x9a\x80'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0xe1 0x9a 0x80
+ local 'octal_fmt=\341\232\200'
+ printf '\341\232\200'
+ warn_ '\xe1\x9a\x80 FAILED to match \s'
+ case $IFS in
+ printf '%s\n' '\xe1\x9a\x80 FAILED to match \s'
\xe1\x9a\x80 FAILED to match \s
+ test 9 = 2
+ printf '%s\n' '\xe1\x9a\x80 FAILED to match \s'
+ sed 1q
+ fail=1
+ hex_printf_ '\xe1\x9a\x80'
+ grep -q '\S'
+++ printf '%s\n' '\xe1\x9a\x80'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0xe1 0x9a 0x80
+ local 'octal_fmt=\341\232\200'
+ printf '\341\232\200'
+ test 0 = 1
+ warn_ '\xe1\x9a\x80 vs. \S FAILED'
+ case $IFS in
+ printf '%s\n' '\xe1\x9a\x80 vs. \S FAILED'
\xe1\x9a\x80 vs. \S FAILED
+ test 9 = 2
+ printf '%s\n' '\xe1\x9a\x80 vs. \S FAILED'
+ sed 1q
+ fail=1
+ for i in '$utf8_space_characters'
+ hex_printf_ '\xe2\x80\x80'
+ grep -q '^\s$'
+++ printf '%s\n' '\xe2\x80\x80'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0xe2 0x80 0x80
+ local 'octal_fmt=\342\200\200'
+ printf '\342\200\200'
+ warn_ '\xe2\x80\x80 FAILED to match \s'
+ case $IFS in
+ printf '%s\n' '\xe2\x80\x80 FAILED to match \s'
\xe2\x80\x80 FAILED to match \s
+ test 9 = 2
+ printf '%s\n' '\xe2\x80\x80 FAILED to match \s'
+ sed 1q
+ fail=1
+ hex_printf_ '\xe2\x80\x80'
+ grep -q '\S'
+++ printf '%s\n' '\xe2\x80\x80'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0xe2 0x80 0x80
+ local 'octal_fmt=\342\200\200'
+ printf '\342\200\200'
+ test 0 = 1
+ warn_ '\xe2\x80\x80 vs. \S FAILED'
+ case $IFS in
+ printf '%s\n' '\xe2\x80\x80 vs. \S FAILED'
\xe2\x80\x80 vs. \S FAILED
+ test 9 = 2
+ printf '%s\n' '\xe2\x80\x80 vs. \S FAILED'
+ sed 1q
+ fail=1
+ for i in '$utf8_space_characters'
+ hex_printf_ '\xe2\x80\x81'
+ grep -q '^\s$'
+++ printf '%s\n' '\xe2\x80\x81'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0xe2 0x80 0x81
+ local 'octal_fmt=\342\200\201'
+ printf '\342\200\201'
+ warn_ '\xe2\x80\x81 FAILED to match \s'
+ case $IFS in
+ printf '%s\n' '\xe2\x80\x81 FAILED to match \s'
\xe2\x80\x81 FAILED to match \s
+ test 9 = 2
+ printf '%s\n' '\xe2\x80\x81 FAILED to match \s'
+ sed 1q
+ fail=1
+ hex_printf_ '\xe2\x80\x81'
+ grep -q '\S'
+++ printf '%s\n' '\xe2\x80\x81'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0xe2 0x80 0x81
+ local 'octal_fmt=\342\200\201'
+ printf '\342\200\201'
+ test 0 = 1
+ warn_ '\xe2\x80\x81 vs. \S FAILED'
+ case $IFS in
+ printf '%s\n' '\xe2\x80\x81 vs. \S FAILED'
\xe2\x80\x81 vs. \S FAILED
+ test 9 = 2
+ printf '%s\n' '\xe2\x80\x81 vs. \S FAILED'
+ sed 1q
+ fail=1
+ for i in '$utf8_space_characters'
+ grep -q '^\s$'
+ hex_printf_ '\xe2\x80\x82'
+++ printf '%s\n' '\xe2\x80\x82'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0xe2 0x80 0x82
+ local 'octal_fmt=\342\200\202'
+ printf '\342\200\202'
+ warn_ '\xe2\x80\x82 FAILED to match \s'
+ case $IFS in
+ printf '%s\n' '\xe2\x80\x82 FAILED to match \s'
\xe2\x80\x82 FAILED to match \s
+ test 9 = 2
+ printf '%s\n' '\xe2\x80\x82 FAILED to match \s'
+ sed 1q
+ fail=1
+ hex_printf_ '\xe2\x80\x82'
+ grep -q '\S'
+++ printf '%s\n' '\xe2\x80\x82'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0xe2 0x80 0x82
+ local 'octal_fmt=\342\200\202'
+ printf '\342\200\202'
+ test 0 = 1
+ warn_ '\xe2\x80\x82 vs. \S FAILED'
+ case $IFS in
+ printf '%s\n' '\xe2\x80\x82 vs. \S FAILED'
\xe2\x80\x82 vs. \S FAILED
+ test 9 = 2
+ printf '%s\n' '\xe2\x80\x82 vs. \S FAILED'
+ sed 1q
+ fail=1
+ for i in '$utf8_space_characters'
+ grep -q '^\s$'
+ hex_printf_ '\xe2\x80\x83'
+++ printf '%s\n' '\xe2\x80\x83'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0xe2 0x80 0x83
+ local 'octal_fmt=\342\200\203'
+ printf '\342\200\203'
+ warn_ '\xe2\x80\x83 FAILED to match \s'
+ case $IFS in
+ printf '%s\n' '\xe2\x80\x83 FAILED to match \s'
\xe2\x80\x83 FAILED to match \s
+ test 9 = 2
+ printf '%s\n' '\xe2\x80\x83 FAILED to match \s'
+ sed 1q
+ fail=1
+ hex_printf_ '\xe2\x80\x83'
+++ printf '%s\n' '\xe2\x80\x83'
+ grep -q '\S'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0xe2 0x80 0x83
+ local 'octal_fmt=\342\200\203'
+ printf '\342\200\203'
+ test 0 = 1
+ warn_ '\xe2\x80\x83 vs. \S FAILED'
+ case $IFS in
+ printf '%s\n' '\xe2\x80\x83 vs. \S FAILED'
\xe2\x80\x83 vs. \S FAILED
+ test 9 = 2
+ printf '%s\n' '\xe2\x80\x83 vs. \S FAILED'
+ sed 1q
+ fail=1
+ for i in '$utf8_space_characters'
+ hex_printf_ '\xe2\x80\x84'
+ grep -q '^\s$'
+++ printf '%s\n' '\xe2\x80\x84'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0xe2 0x80 0x84
+ local 'octal_fmt=\342\200\204'
+ printf '\342\200\204'
+ warn_ '\xe2\x80\x84 FAILED to match \s'
+ case $IFS in
+ printf '%s\n' '\xe2\x80\x84 FAILED to match \s'
\xe2\x80\x84 FAILED to match \s
+ test 9 = 2
+ printf '%s\n' '\xe2\x80\x84 FAILED to match \s'
+ sed 1q
+ fail=1
+ hex_printf_ '\xe2\x80\x84'
+ grep -q '\S'
+++ printf '%s\n' '\xe2\x80\x84'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0xe2 0x80 0x84
+ local 'octal_fmt=\342\200\204'
+ printf '\342\200\204'
+ test 0 = 1
+ warn_ '\xe2\x80\x84 vs. \S FAILED'
+ case $IFS in
+ printf '%s\n' '\xe2\x80\x84 vs. \S FAILED'
\xe2\x80\x84 vs. \S FAILED
+ test 9 = 2
+ printf '%s\n' '\xe2\x80\x84 vs. \S FAILED'
+ sed 1q
+ fail=1
+ for i in '$utf8_space_characters'
+ hex_printf_ '\xe2\x80\x85'
+ grep -q '^\s$'
+++ printf '%s\n' '\xe2\x80\x85'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0xe2 0x80 0x85
+ local 'octal_fmt=\342\200\205'
+ printf '\342\200\205'
+ warn_ '\xe2\x80\x85 FAILED to match \s'
+ case $IFS in
+ printf '%s\n' '\xe2\x80\x85 FAILED to match \s'
\xe2\x80\x85 FAILED to match \s
+ test 9 = 2
+ printf '%s\n' '\xe2\x80\x85 FAILED to match \s'
+ sed 1q
+ fail=1
+ hex_printf_ '\xe2\x80\x85'
+ grep -q '\S'
+++ printf '%s\n' '\xe2\x80\x85'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0xe2 0x80 0x85
+ local 'octal_fmt=\342\200\205'
+ printf '\342\200\205'
+ test 0 = 1
+ warn_ '\xe2\x80\x85 vs. \S FAILED'
+ case $IFS in
+ printf '%s\n' '\xe2\x80\x85 vs. \S FAILED'
\xe2\x80\x85 vs. \S FAILED
+ test 9 = 2
+ printf '%s\n' '\xe2\x80\x85 vs. \S FAILED'
+ sed 1q
+ fail=1
+ for i in '$utf8_space_characters'
+ hex_printf_ '\xe2\x80\x86'
+ grep -q '^\s$'
+++ printf '%s\n' '\xe2\x80\x86'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0xe2 0x80 0x86
+ local 'octal_fmt=\342\200\206'
+ printf '\342\200\206'
+ warn_ '\xe2\x80\x86 FAILED to match \s'
+ case $IFS in
+ printf '%s\n' '\xe2\x80\x86 FAILED to match \s'
\xe2\x80\x86 FAILED to match \s
+ test 9 = 2
+ printf '%s\n' '\xe2\x80\x86 FAILED to match \s'
+ sed 1q
+ fail=1
+ hex_printf_ '\xe2\x80\x86'
+ grep -q '\S'
+++ printf '%s\n' '\xe2\x80\x86'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0xe2 0x80 0x86
+ local 'octal_fmt=\342\200\206'
+ printf '\342\200\206'
+ test 0 = 1
+ warn_ '\xe2\x80\x86 vs. \S FAILED'
+ case $IFS in
+ printf '%s\n' '\xe2\x80\x86 vs. \S FAILED'
\xe2\x80\x86 vs. \S FAILED
+ test 9 = 2
+ printf '%s\n' '\xe2\x80\x86 vs. \S FAILED'
+ sed 1q
+ fail=1
+ for i in '$utf8_space_characters'
+ hex_printf_ '\xe2\x80\x88'
+ grep -q '^\s$'
+++ printf '%s\n' '\xe2\x80\x88'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0xe2 0x80 0x88
+ local 'octal_fmt=\342\200\210'
+ printf '\342\200\210'
+ warn_ '\xe2\x80\x88 FAILED to match \s'
+ case $IFS in
+ printf '%s\n' '\xe2\x80\x88 FAILED to match \s'
\xe2\x80\x88 FAILED to match \s
+ test 9 = 2
+ printf '%s\n' '\xe2\x80\x88 FAILED to match \s'
+ sed 1q
+ fail=1
+ hex_printf_ '\xe2\x80\x88'
+ grep -q '\S'
+++ printf '%s\n' '\xe2\x80\x88'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0xe2 0x80 0x88
+ local 'octal_fmt=\342\200\210'
+ printf '\342\200\210'
+ test 0 = 1
+ warn_ '\xe2\x80\x88 vs. \S FAILED'
+ case $IFS in
+ printf '%s\n' '\xe2\x80\x88 vs. \S FAILED'
\xe2\x80\x88 vs. \S FAILED
+ test 9 = 2
+ printf '%s\n' '\xe2\x80\x88 vs. \S FAILED'
+ sed 1q
+ fail=1
+ for i in '$utf8_space_characters'
+ hex_printf_ '\xe2\x80\x89'
+ grep -q '^\s$'
+++ printf '%s\n' '\xe2\x80\x89'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0xe2 0x80 0x89
+ local 'octal_fmt=\342\200\211'
+ printf '\342\200\211'
+ warn_ '\xe2\x80\x89 FAILED to match \s'
+ case $IFS in
+ printf '%s\n' '\xe2\x80\x89 FAILED to match \s'
\xe2\x80\x89 FAILED to match \s
+ test 9 = 2
+ printf '%s\n' '\xe2\x80\x89 FAILED to match \s'
+ sed 1q
+ fail=1
+ hex_printf_ '\xe2\x80\x89'
+ grep -q '\S'
+++ printf '%s\n' '\xe2\x80\x89'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0xe2 0x80 0x89
+ local 'octal_fmt=\342\200\211'
+ printf '\342\200\211'
+ test 0 = 1
+ warn_ '\xe2\x80\x89 vs. \S FAILED'
+ case $IFS in
+ printf '%s\n' '\xe2\x80\x89 vs. \S FAILED'
\xe2\x80\x89 vs. \S FAILED
+ test 9 = 2
+ printf '%s\n' '\xe2\x80\x89 vs. \S FAILED'
+ sed 1q
+ fail=1
+ for i in '$utf8_space_characters'
+ hex_printf_ '\xe2\x80\x8a'
+ grep -q '^\s$'
+++ printf '%s\n' '\xe2\x80\x8a'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0xe2 0x80 0x8a
+ local 'octal_fmt=\342\200\212'
+ printf '\342\200\212'
+ warn_ '\xe2\x80\x8a FAILED to match \s'
+ case $IFS in
+ printf '%s\n' '\xe2\x80\x8a FAILED to match \s'
\xe2\x80\x8a FAILED to match \s
+ test 9 = 2
+ printf '%s\n' '\xe2\x80\x8a FAILED to match \s'
+ sed 1q
+ fail=1
+ hex_printf_ '\xe2\x80\x8a'
+ grep -q '\S'
+++ printf '%s\n' '\xe2\x80\x8a'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0xe2 0x80 0x8a
+ local 'octal_fmt=\342\200\212'
+ printf '\342\200\212'
+ test 0 = 1
+ warn_ '\xe2\x80\x8a vs. \S FAILED'
+ case $IFS in
+ printf '%s\n' '\xe2\x80\x8a vs. \S FAILED'
\xe2\x80\x8a vs. \S FAILED
+ test 9 = 2
+ printf '%s\n' '\xe2\x80\x8a vs. \S FAILED'
+ sed 1q
+ fail=1
+ for i in '$utf8_space_characters'
+ hex_printf_ '\xe2\x81\x9f'
+ grep -q '^\s$'
+++ printf '%s\n' '\xe2\x81\x9f'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0xe2 0x81 0x9f
+ local 'octal_fmt=\342\201\237'
+ printf '\342\201\237'
+ warn_ '\xe2\x81\x9f FAILED to match \s'
+ case $IFS in
+ printf '%s\n' '\xe2\x81\x9f FAILED to match \s'
\xe2\x81\x9f FAILED to match \s
+ test 9 = 2
+ printf '%s\n' '\xe2\x81\x9f FAILED to match \s'
+ sed 1q
+ fail=1
+ hex_printf_ '\xe2\x81\x9f'
+ grep -q '\S'
+++ printf '%s\n' '\xe2\x81\x9f'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0xe2 0x81 0x9f
+ local 'octal_fmt=\342\201\237'
+ printf '\342\201\237'
+ test 0 = 1
+ warn_ '\xe2\x81\x9f vs. \S FAILED'
+ case $IFS in
+ printf '%s\n' '\xe2\x81\x9f vs. \S FAILED'
\xe2\x81\x9f vs. \S FAILED
+ test 9 = 2
+ printf '%s\n' '\xe2\x81\x9f vs. \S FAILED'
+ sed 1q
+ fail=1
+ for i in '$utf8_space_characters'
+ hex_printf_ '\xe3\x80\x80'
+ grep -q '^\s$'
+++ printf '%s\n' '\xe3\x80\x80'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0xe3 0x80 0x80
+ local 'octal_fmt=\343\200\200'
+ printf '\343\200\200'
+ warn_ '\xe3\x80\x80 FAILED to match \s'
+ case $IFS in
+ printf '%s\n' '\xe3\x80\x80 FAILED to match \s'
\xe3\x80\x80 FAILED to match \s
+ test 9 = 2
+ printf '%s\n' '\xe3\x80\x80 FAILED to match \s'
+ sed 1q
+ fail=1
+ hex_printf_ '\xe3\x80\x80'
+ grep -q '\S'
+++ printf '%s\n' '\xe3\x80\x80'
+++ sed 's,\\x\([0-9abcdefABCDEF][0-9abcdefABCDEF]\), 0x\1,g'
++ printf '\\%o' 0xe3 0x80 0x80
+ local 'octal_fmt=\343\200\200'
+ printf '\343\200\200'
+ test 0 = 1
+ warn_ '\xe3\x80\x80 vs. \S FAILED'
+ case $IFS in
+ printf '%s\n' '\xe3\x80\x80 vs. \S FAILED'
\xe3\x80\x80 vs. \S FAILED
+ test 9 = 2
+ printf '%s\n' '\xe3\x80\x80 vs. \S FAILED'
+ sed 1q
+ fail=1
+ printf '\0'
+ grep -aE '^\s?$'
+ test 1 = 1
+ compare /dev/null out
+ compare_dev_null_ /dev/null out
+ test 2 = 2
+ test x/dev/null = x/dev/null
+ test -s out
+ return 0
+ return 0
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /tmp/grep-2.20.83-06900.9QfptX/grep-2.20.83-06900/tests
+ chmod -R u+rwx /tmp/grep-2.20.83-06900.9QfptX/grep-2.20.83-06900/tests/gt-multibyte-white-space.Kp1p
+ rm -rf /tmp/grep-2.20.83-06900.9QfptX/grep-2.20.83-06900/tests/gt-multibyte-white-space.Kp1p
+ exit 1
FAIL multibyte-white-space (exit status: 1)

==================================================
   GNU grep 2.20.83-06900: tests/test-suite.log
==================================================

# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: symlink
=============

+ 'initial_cwd_=/tmp/grep-2.20.83-06900/tests'
+ fail=0
+ 'testdir_prefix_'
+ printf gt
+ 'pfx_=gt'
+ 'mktempd_' '/tmp/grep-2.20.83-06900/tests' 'gt-symlink.XXXX'
+ 'destdir_=/tmp/grep-2.20.83-06900/tests'
+ 'template_=gt-symlink.XXXX'
+ 'MAX_TRIES_=4'
+ unset TMPDIR
+ 'd=/tmp/-p.028951aa
gt-symlink.951c'
+ fail=1
+ fail=1
+ test -d '/tmp/-p.028951aa
gt-symlink.951c'
+ fail=1
+ ls -dgo '/tmp/-p.028951aa
gt-symlink.951c'
+ tr S -
+ 'LC_ALL=C' env -- tr S -
+ perms=
+ fail=1
+ test 1 = 0
+ echo 'gt-symlink.XXXX'
+ sed 's/XX*$//'
+ 'base_template_=gt-symlink.'
+ echo 'gt-symlink.XXXX'
+ wc -c
+ 'template_length_=      16'
+ echo 'gt-symlink.'
+ wc -c
+ 'nx_=      12'
+ expr 16 - 12
+ 'nx_=4'
+ 'err_='
+ 'i_=1'
+ ':'
+ 'rand_bytes_' 4
+ 'n_=4'
+ 'chars_=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'
+ 'dev_rand_=/dev/urandom'
+ test -r /dev/urandom
+ dd ibs=4 count=1 if=/dev/urandom+ 
'LC_ALL=C' tr -c abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 01234567abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
+ 'LC_ALL=C' env -- tr -c abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 01234567abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
+ return
+ 'X_=yKU9'
+ 'candidate_dir_=/tmp/grep-2.20.83-06900/tests/gt-symlink.yKU9'
+ mkdir -m 0700 '/tmp/grep-2.20.83-06900/tests/gt-symlink.yKU9'
+ 'err_='
+ echo '/tmp/grep-2.20.83-06900/tests/gt-symlink.yKU9'
+ return
+ 'test_dir_=/tmp/grep-2.20.83-06900/tests/gt-symlink.yKU9'
+ cd '/tmp/grep-2.20.83-06900/tests/gt-symlink.yKU9'
+ '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.83-06900/tests/../src'
+ 'PATH=/tmp/grep-2.20.83-06900/tests/../src:/tmp/grep-2.20.83-06900/src:/usr/local/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/games'
+ 'create_exe_shims_' '/tmp/grep-2.20.83-06900/tests/../src'
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ mkdir dir
+ echo a
+ echo b
+ ln -s a dir/c
+ ln -s '.' dir/d
+ ln -s dangling dir/e
+ touch out
+ 'expected_status=0'
+ cd dir
+ grep '^'
+ test 0 -eq 0
+ 'exp=a\n'
+ printf 'a\n'
+ 'LC_ALL=C' sort grepout
+ grep -v Binary out-t
+ compare exp out
+ 'compare_dev_null_' exp out
+ test 2 = 2
+ test xexp = x/dev/null
+ test xout = x/dev/null
+ return 2
+ 'compare_' exp out
+ diff -u exp out
+ 'expected_status=2'
+ cd dir
+ grep '^' a b c d e
grep: e: No such file or directory
+ test 2 -eq 2
+ 'exp=a:a\nb:b\nc:a\n'
+ printf 'a:a\nb:b\nc:a\n'
+ 'LC_ALL=C' sort grepout
+ grep -v Binary out-t
+ compare exp out
+ 'compare_dev_null_' exp out
+ test 2 = 2
+ test xexp = x/dev/null
+ test xout = x/dev/null
+ return 2
+ 'compare_' exp out
+ diff -u exp out
+ 'expected_status=0'
+ cd dir
+ grep -r '^'
grep: e: No such file or directory
+ test 2 -eq 0
+ fail=1
+ 'exp=a:a\nb:b\n'
+ printf 'a:a\nb:b\n'
+ 'LC_ALL=C' sort grepout
+ grep -v Binary out-t
+ compare exp out
+ 'compare_dev_null_' exp out
+ test 2 = 2
+ test xexp = x/dev/null
+ test xout = x/dev/null
+ return 2
+ 'compare_' exp out
+ diff -u exp out
--- exp	Mon Nov 10 02:26:07 2014
+++ out	Mon Nov 10 02:26:07 2014
@@ -1,2 +1,3 @@
 a:a
 b:b
+c:a
+ fail=1
+ 'expected_status=2'
+ cd dir
+ grep -r '^' a b c d e
grep: d/e: No such file or directory
grep: e: No such file or directory
+ test 2 -eq 2
+ 'exp=a:a\nb:b\nc:a\nd/a:a\nd/b:b\n'
+ printf 'a:a\nb:b\nc:a\nd/a:a\nd/b:b\n'
+ 'LC_ALL=C' sort grepout
+ grep -v Binary out-t
+ compare exp out
+ 'compare_dev_null_' exp out
+ test 2 = 2
+ test xexp = x/dev/null
+ test xout = x/dev/null
+ return 2
+ 'compare_' exp out
+ diff -u exp out
--- exp	Mon Nov 10 02:26:07 2014
+++ out	Mon Nov 10 02:26:07 2014
@@ -3,3 +3,4 @@
 c:a
 d/a:a
 d/b:b
+d/c:a
+ fail=1
+ 'expected_status=2'
+ cd dir
+ grep -R '^'
grep: warning: d: recursive directory loop
grep: e: No such file or directory
+ test 2 -eq 2
+ 'exp=a:a\nb:b\nc:a\n'
+ printf 'a:a\nb:b\nc:a\n'
+ 'LC_ALL=C' sort grepout
+ grep -v Binary out-t
+ compare exp out
+ 'compare_dev_null_' exp out
+ test 2 = 2
+ test xexp = x/dev/null
+ test xout = x/dev/null
+ return 2
+ 'compare_' exp out
+ diff -u exp out
+ 'expected_status=2'
+ cd dir
+ grep -R '^' a b c d e
grep: warning: d/d: recursive directory loop
grep: d/e: No such file or directory
grep: e: No such file or directory
+ test 2 -eq 2
+ 'exp=a:a\nb:b\nc:a\nd/a:a\nd/b:b\nd/c:a\n'
+ printf 'a:a\nb:b\nc:a\nd/a:a\nd/b:b\nd/c:a\n'
+ 'LC_ALL=C' sort grepout
+ grep -v Binary out-t
+ compare exp out
+ 'compare_dev_null_' exp out
+ test 2 = 2
+ test xexp = x/dev/null
+ test xout = x/dev/null
+ return 2
+ 'compare_' exp out
+ diff -u exp out
+ Exit 1
+ set '+e'
+ exit 1
+ exit 1
+ 'remove_tmp_'
+ '__st=1'
+ 'cleanup_'
+ ':'
+ cd '/tmp/grep-2.20.83-06900/tests'
+ chmod -R 'u+rwx' '/tmp/grep-2.20.83-06900/tests/gt-symlink.yKU9'
+ rm -rf '/tmp/grep-2.20.83-06900/tests/gt-symlink.yKU9'
+ exit 1
FAIL symlink (exit status: 1)

Reply via email to