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

# TOTAL: 590
# PASS:  430
# SKIP:  158
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0

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

++ initial_cwd_=/home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b gt-rm-readdir-fail.sh.XXXX
+++ case $# in
+++ destdir_=/home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b
+++ template_=gt-rm-readdir-fail.sh.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ destdir_slash_=/home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b/
+++ case $template_ in
++++ unset TMPDIR
+++ d=/home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b/gt-rm-readdir-fail.sh.hKZJ
+++ case $d in
+++ :
+++ test -d /home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b/gt-rm-readdir-fail.sh.hKZJ
++++ ls -dgo /home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b/gt-rm-readdir-fail.sh.hKZJ
+++ perms='drwx------ 2 2 Nov 29 00:21 /home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b/gt-rm-readdir-fail.sh.hKZJ'
+++ case $perms in
+++ :
+++ echo /home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b/gt-rm-readdir-fail.sh.hKZJ
+++ return
++ test_dir_=/home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b/gt-rm-readdir-fail.sh.hKZJ
++ cd /home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b/gt-rm-readdir-fail.sh.hKZJ
++ 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_=/home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b/./src
+ case $abs_path_dir_ in
+ PATH=/home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b/./src:/home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b/src:/usr/xpg4/bin:/usr/xpg6/bin:/usr/xpg4/bin/:/opt/csw/bin:/usr/bin:/bin:/sbin:/usr/sbin
+ create_exe_shims_ /home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/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 -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 -Wall -shared --std=gnu99 -fPIC -O2 k.c -o k.so -ldl
+ export READDIR_PARTIAL
+ for READDIR_PARTIAL in ''\'''\''' ''\''1'\'''
+ rm -f preloaded
+ export LD_PRELOAD=:./k.so
+ LD_PRELOAD=:./k.so
+ returns_ 1 rm -Rf dir
+ test -f preloaded
+ for READDIR_PARTIAL in ''\'''\''' ''\''1'\'''
+ rm -f preloaded
+ export LD_PRELOAD=:./k.so
+ LD_PRELOAD=:./k.so
+ returns_ 1 rm -Rf dir
+ test -f preloaded
+ cat
+ compare exp err
+ compare_dev_null_ exp err
+ test 2 = 2
+ test xexp = x/dev/null
+ test xerr = x/dev/null
+ return 2
+ case $? in
+ compare_ exp err
+ diff -u exp err
+ diff_status_=1
+ test 1 -eq 0
+ cat diff.out
--- exp	Tue Nov 29 00:21:06 2016
+++ err	Tue Nov 29 00:21:21 2016
@@ -1,2 +1,2 @@
-rm: cannot remove 'dir': Directory not empty
+rm: cannot remove 'dir': File exists
 rm: traversal failed: dir: No such file or directory
+ rm -f diff.out
+ return 1
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b
+ chmod -R u+rwx /home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b/gt-rm-readdir-fail.sh.hKZJ
+ rm -rf /home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b/gt-rm-readdir-fail.sh.hKZJ
+ exit 1
FAIL tests/rm/rm-readdir-fail.sh (exit status: 1)

FAIL: tests/tail-2/follow-stdin
===============================

++ initial_cwd_=/home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b gt-follow-stdin.sh.XXXX
+++ case $# in
+++ destdir_=/home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b
+++ template_=gt-follow-stdin.sh.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ destdir_slash_=/home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b/
+++ case $template_ in
++++ unset TMPDIR
+++ d=/home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b/gt-follow-stdin.sh.LnRY
+++ case $d in
+++ :
+++ test -d /home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b/gt-follow-stdin.sh.LnRY
++++ ls -dgo /home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b/gt-follow-stdin.sh.LnRY
+++ perms='drwx------ 2 2 Nov 29 00:34 /home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b/gt-follow-stdin.sh.LnRY'
+++ case $perms in
+++ :
+++ echo /home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b/gt-follow-stdin.sh.LnRY
+++ return
++ test_dir_=/home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b/gt-follow-stdin.sh.LnRY
++ cd /home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b/gt-follow-stdin.sh.LnRY
++ 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_=/home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b/./src
+ case $abs_path_dir_ in
+ PATH=/home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b/./src:/home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b/src:/usr/xpg4/bin:/usr/xpg6/bin:/usr/xpg4/bin/:/opt/csw/bin:/usr/bin:/bin:/sbin:/usr/sbin
+ create_exe_shims_ /home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b/./src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ tail
+ require_built_ tail
+ skip_=no
+ for i in '"$@"'
+ case " $built_programs " in
+ test no = yes
+ test yes = yes
+ local i
+ for i in '$*'
+ env tail --version
tail (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, Ian Lance Taylor,
and Jim Meyering.
+ fastpoll='-s.1 --max-unchanged-stats=1'
+ echo line
+ echo line
+ for mode in ''\'''\''' ''\''---disable-inotify'\'''
+ pid=19840
+ tail_re=line
+ retry_delay_ check_tail_output .1 7
+ tail -f -s.1 --max-unchanged-stats=1
+ local test_func=check_tail_output
+ local init_delay=.1
+ local max_n_tries=7
+ shift 3
+ local attempt=1
+ local num_sleeps=1
+ local time_fail
+ test 1 -le 7
++ gawk -v n=1 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.1
+ check_tail_output 0.1
+ local delay=0.1
+ grep line out
line
+ time_fail=0
+ break
+ test 0 = 0
+ compare /dev/null err
+ compare_dev_null_ /dev/null err
+ test 2 = 2
+ test x/dev/null = x/dev/null
+ test -s err
+ return 0
+ return 0
+ cleanup_
+ kill 19840
+ wait 19840
+ for mode in ''\'''\''' ''\''---disable-inotify'\'''
+ pid=19870
+ tail_re=line
+ retry_delay_ check_tail_output .1 7
+ local test_func=check_tail_output
+ local init_delay=.1
+ local max_n_tries=7
+ shift 3
+ local attempt=1
+ local num_sleeps=1
+ local time_fail
+ test 1 -le 7
+ tail ---disable-inotify -f -s.1 --max-unchanged-stats=1
++ gawk -v n=1 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.1
+ check_tail_output 0.1
+ local delay=0.1
+ grep line out
+ sleep 0.1
+ return 1
+ time_fail=1
++ expr 1 + 1
+ attempt=2
++ expr 1 '*' 2
+ num_sleeps=2
+ test 2 -le 7
++ gawk -v n=2 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.2
+ check_tail_output 0.2
+ local delay=0.2
+ grep line out
line
+ time_fail=0
+ break
+ test 0 = 0
+ compare /dev/null err
+ compare_dev_null_ /dev/null err
+ test 2 = 2
+ test x/dev/null = x/dev/null
+ test -s err
+ return 0
+ return 0
+ cleanup_
+ kill 19870
+ wait 19870
+ returns_ 1 timeout 10 tail -f -
+ cat
+ compare exp err
+ compare_dev_null_ exp err
+ test 2 = 2
+ test xexp = x/dev/null
+ test xerr = x/dev/null
+ return 2
+ case $? in
+ compare_ exp err
+ diff -u exp err
+ diff_status_=1
+ test 1 -eq 0
+ cat diff.out
--- exp	Tue Nov 29 00:34:05 2016
+++ err	Tue Nov 29 00:34:05 2016
@@ -1,4 +1,4 @@
-tail: cannot fstat 'standard input': Bad file descriptor
-tail: error reading 'standard input': Bad file descriptor
+tail: cannot fstat 'standard input': Bad file number
+tail: error reading 'standard input': Bad file number
 tail: no files remaining
-tail: -: Bad file descriptor
+tail: -: Bad file number
+ rm -f diff.out
+ return 1
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ kill 19870
+ cd /home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b
+ chmod -R u+rwx /home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b/gt-follow-stdin.sh.LnRY
+ rm -rf /home/agn/pretest.2016-11-28.BZayVi/coreutils-ss.LaYWpc/coreutils-8.25.133-0655b/gt-follow-stdin.sh.LnRY
+ exit 1
FAIL tests/tail-2/follow-stdin.sh (exit status: 1)

