===========================================================
   GNU coreutils 8.23.245-8bf2af: ./tests/test-suite.log
===========================================================

# TOTAL: 579
# PASS:  458
# SKIP:  120
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

FAIL: tests/tail-2/assert
=========================

++ initial_cwd_=/tmp/coreutils-ss.eB9d0O/coreutils-8.23.245-8bf2af
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /tmp/coreutils-ss.eB9d0O/coreutils-8.23.245-8bf2af gt-assert.sh.XXXX
+++ case $# in
+++ destdir_=/tmp/coreutils-ss.eB9d0O/coreutils-8.23.245-8bf2af
+++ template_=gt-assert.sh.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ case $template_ in
++++ unset TMPDIR
+++ d=/tmp/coreutils-ss.eB9d0O/coreutils-8.23.245-8bf2af/gt-assert.sh.JDru
+++ case $d in
+++ test -d /tmp/coreutils-ss.eB9d0O/coreutils-8.23.245-8bf2af/gt-assert.sh.JDru
++++ tr S -
++++ ls -dgo /tmp/coreutils-ss.eB9d0O/coreutils-8.23.245-8bf2af/gt-assert.sh.JDru
+++ perms='drwx------ 2 4096 Jul  1 17:07 /tmp/coreutils-ss.eB9d0O/coreutils-8.23.245-8bf2af/gt-assert.sh.JDru'
+++ case $perms in
+++ test 0 = 0
+++ echo /tmp/coreutils-ss.eB9d0O/coreutils-8.23.245-8bf2af/gt-assert.sh.JDru
+++ return
++ test_dir_=/tmp/coreutils-ss.eB9d0O/coreutils-8.23.245-8bf2af/gt-assert.sh.JDru
++ cd /tmp/coreutils-ss.eB9d0O/coreutils-8.23.245-8bf2af/gt-assert.sh.JDru
++ 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.eB9d0O/coreutils-8.23.245-8bf2af/./src
+ case $abs_path_dir_ in
+ PATH=/tmp/coreutils-ss.eB9d0O/coreutils-8.23.245-8bf2af/./src:/tmp/coreutils-ss.eB9d0O/coreutils-8.23.245-8bf2af/src:/home/miles/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/sbin:/usr/sbin
+ create_exe_shims_ /tmp/coreutils-ss.eB9d0O/coreutils-8.23.245-8bf2af/./src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ tail
+ test yes = yes
+ local i
+ for i in '$*'
+ env tail --version
tail (GNU coreutils) 8.23.245-8bf2af
Copyright (C) 2015 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'
+ for mode in ''\'''\''' ''\''---disable-inotify'\'''
+ rm -f a foo out
+ touch a foo
+ pid=26179
+ echo x
+ tail_re='^x$'
+ 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
++ gawk -v n=1 -v s=.1 'BEGIN { print s * n }'
+ tail --follow=name -s.1 --max-unchanged-stats=1 a foo
+ local delay=0.1
+ check_tail_output 0.1
+ local delay=0.1
+ grep '^x$' out
x
+ time_fail=0
+ break
+ test 0 = 0
+ rm foo
+ tail_re='No such file'
+ 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
++ 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 'No such file' 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 'No such file' out
+ sleep 0.2
+ return 1
+ time_fail=1
++ expr 2 + 1
+ attempt=3
++ expr 2 '*' 2
+ num_sleeps=4
+ test 3 -le 7
++ gawk -v n=4 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.4
+ check_tail_output 0.4
+ local delay=0.4
+ grep 'No such file' out
+ sleep 0.4
+ return 1
+ time_fail=1
++ expr 3 + 1
+ attempt=4
++ expr 4 '*' 2
+ num_sleeps=8
+ test 4 -le 7
++ gawk -v n=8 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.8
+ check_tail_output 0.8
+ local delay=0.8
+ grep 'No such file' out
+ sleep 0.8
+ return 1
+ time_fail=1
++ expr 4 + 1
+ attempt=5
++ expr 8 '*' 2
+ num_sleeps=16
+ test 5 -le 7
++ gawk -v n=16 -v s=.1 'BEGIN { print s * n }'
+ local delay=1.6
+ check_tail_output 1.6
+ local delay=1.6
+ grep 'No such file' out
+ sleep 1.6
+ return 1
+ time_fail=1
++ expr 5 + 1
+ attempt=6
++ expr 16 '*' 2
+ num_sleeps=32
+ test 6 -le 7
++ gawk -v n=32 -v s=.1 'BEGIN { print s * n }'
+ local delay=3.2
+ check_tail_output 3.2
+ local delay=3.2
+ grep 'No such file' out
+ sleep 3.2
+ return 1
+ time_fail=1
++ expr 6 + 1
+ attempt=7
++ expr 32 '*' 2
+ num_sleeps=64
+ test 7 -le 7
++ gawk -v n=64 -v s=.1 'BEGIN { print s * n }'
+ local delay=6.4
+ check_tail_output 6.4
+ local delay=6.4
+ grep 'No such file' out
+ sleep 6.4
+ return 1
+ time_fail=1
++ expr 7 + 1
+ attempt=8
++ expr 64 '*' 2
+ num_sleeps=128
+ test 8 -le 7
+ test 1 = 0
+ cat out
==> a <==
x

==> foo <==
+ fail=1
+ break
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ kill 26179
+ wait 26179
+ cd /tmp/coreutils-ss.eB9d0O/coreutils-8.23.245-8bf2af
+ chmod -R u+rwx /tmp/coreutils-ss.eB9d0O/coreutils-8.23.245-8bf2af/gt-assert.sh.JDru
+ rm -rf /tmp/coreutils-ss.eB9d0O/coreutils-8.23.245-8bf2af/gt-assert.sh.JDru
+ exit 1
FAIL tests/tail-2/assert.sh (exit status: 1)

