==========================================================
   GNU coreutils 8.25.133-0655b: ./tests/test-suite.log
==========================================================

# TOTAL: 590
# PASS:  454
# SKIP:  135
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 1

ERROR: tests/rm/rm-readdir-fail
===============================

++ initial_cwd_=/tmp/coreutils-ss.aNYlyP/coreutils-8.25.133-0655b
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /tmp/coreutils-ss.aNYlyP/coreutils-8.25.133-0655b gt-rm-readdir-fail.sh.XXXX
+++ case $# in
+++ destdir_=/tmp/coreutils-ss.aNYlyP/coreutils-8.25.133-0655b
+++ template_=gt-rm-readdir-fail.sh.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ destdir_slash_=/tmp/coreutils-ss.aNYlyP/coreutils-8.25.133-0655b/
+++ case $template_ in
++++ unset TMPDIR
+++ d=/tmp/coreutils-ss.aNYlyP/coreutils-8.25.133-0655b/gt-rm-readdir-fail.sh.C0kR
+++ case $d in
+++ :
+++ test -d /tmp/coreutils-ss.aNYlyP/coreutils-8.25.133-0655b/gt-rm-readdir-fail.sh.C0kR
++++ ls -dgo /tmp/coreutils-ss.aNYlyP/coreutils-8.25.133-0655b/gt-rm-readdir-fail.sh.C0kR
+++ perms='drwx------ 2 512 Nov 28 19:32 /tmp/coreutils-ss.aNYlyP/coreutils-8.25.133-0655b/gt-rm-readdir-fail.sh.C0kR'
+++ case $perms in
+++ :
+++ echo /tmp/coreutils-ss.aNYlyP/coreutils-8.25.133-0655b/gt-rm-readdir-fail.sh.C0kR
+++ return
++ test_dir_=/tmp/coreutils-ss.aNYlyP/coreutils-8.25.133-0655b/gt-rm-readdir-fail.sh.C0kR
++ cd /tmp/coreutils-ss.aNYlyP/coreutils-8.25.133-0655b/gt-rm-readdir-fail.sh.C0kR
++ 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/coreutils-ss.aNYlyP/coreutils-8.25.133-0655b/./src
+ case $abs_path_dir_ in
+ PATH=/tmp/coreutils-ss.aNYlyP/coreutils-8.25.133-0655b/./src:/tmp/coreutils-ss.aNYlyP/coreutils-8.25.133-0655b/src:/usr/local/bin:/usr/bin:/bin:/usr/games:/sbin:/usr/sbin
+ create_exe_shims_ /tmp/coreutils-ss.aNYlyP/coreutils-8.25.133-0655b/./src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ rm
+ require_built_ rm
+ skip_=no
+ for i in '"$@"'
+ case " $built_programs " in
+ test no = yes
+ test yes = yes
+ local i
+ for i in '$*'
+ env rm --version
rm (GNU coreutils) 8.25.133-0655b
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Paul Rubin, David MacKenzie, Richard M. Stallman,
and Jim Meyering.
+ require_gcc_shared_
+ gcc_shared_ - d.so -xc
+ local in=-
+ local out=d.so
+ shift 2
+ gcc -std=gnu99 -Wall -shared --std=gnu99 -fPIC -O2 -xc - -o d.so -ldl
+ rm -f d.so
+ mkdir -p dir/notempty
+ cat
+ gcc_shared_ k.c k.so
+ local in=k.c
+ local out=k.so
+ shift 2
+ gcc -std=gnu99 -Wall -shared --std=gnu99 -fPIC -O2 k.c -o k.so -ldl
k.c: In function 'readdir':
k.c:44:7: warning: implicit declaration of function '_D_EXACT_NAMELEN' [-Wimplicit-function-declaration]
k.c:44:26: error: lvalue required as left operand of assignment
+ framework_failure_ 'failed to build shared library'
+ warn_ 'rm-readdir-fail.sh: set-up failure: failed to build shared library'
+ case $IFS in
+ printf '%s\n' 'rm-readdir-fail.sh: set-up failure: failed to build shared library'
rm-readdir-fail.sh: set-up failure: failed to build shared library
+ test 9 = 2
+ printf '%s\n' 'rm-readdir-fail.sh: set-up failure: failed to build shared library'
+ sed 1q
+ Exit 99
+ set +e
+ exit 99
+ exit 99
+ remove_tmp_
+ __st=99
+ cleanup_
+ :
+ cd /tmp/coreutils-ss.aNYlyP/coreutils-8.25.133-0655b
+ chmod -R u+rwx /tmp/coreutils-ss.aNYlyP/coreutils-8.25.133-0655b/gt-rm-readdir-fail.sh.C0kR
+ rm -rf /tmp/coreutils-ss.aNYlyP/coreutils-8.25.133-0655b/gt-rm-readdir-fail.sh.C0kR
+ exit 99
ERROR tests/rm/rm-readdir-fail.sh (exit status: 99)

