==========================================================
   GNU coreutils 8.25.120-ca99c: ./tests/test-suite.log
==========================================================

# TOTAL: 590
# PASS:  421
# SKIP:  161
# XFAIL: 0
# FAIL:  8
# XPASS: 0
# ERROR: 0

FAIL: tests/misc/numfmt
=======================

skipping locale grouping tests as 1234 groups like 1Â234
numfmt (GNU coreutils) 8.25.120-ca99c
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 Assaf Gordon.
1...
2...
3...
4...
5...
5.1...
6...
7...
7a...
8...
9...
10...
11...
12...
13...
14...
15...
16...
17...
18...
19...
20...
21...
22...
23...
24...
25...
26...
27...
neg-1...
neg-2...
neg-3...
neg-4...
neg-5...
neg-6...
neg-7...
float-1...
float-2...
float-3...
unit-1...
unit-2...
unit-3...
unit-4...
unit-5...
unit-6...
unit-7...
unit-7.1...
unit-7.2...
unit-7.3...
unit-8...
unit-9...
unit-10...
suf-1...
suf-2...
suf-2.1...
suf-3...
suf-4...
suf-5...
suf-6...
suf-7...
suf-8...
suf-9...
suf-10...
suf-11...
suf-12...
suf-13...
suf-14...
suf-15...
suf-16...
suf-17...
suf-18...
suf-19...
grp-1...
numfmt.pl: test grp-1: stdout mismatch, comparing grp-1.1 (expected) and grp-1.O (actual)
*** grp-1.1	Sat Nov 26 01:09:39 2016
--- grp-1.O	Sat Nov 26 01:09:39 2016
***************
*** 1 ****
! 7000000
--- 1 ----
! 7,000,000
grp-2...
pad-1...
pad-2...
pad-3...
pad-3.1...
pad-4...
pad-5...
pad-6...
pad-7...
pad-8...
delim-1...
delim-2...
delim-3...
delim-4...
delim-5...
delim-6...
delim-err-1...
field-1...
field-2...
field-3...
field-4...
field-5...
field-6...
field-8...
field-range-1...
field-range-2...
field-range-3...
field-range-4...
field-range-5...
field-range-6...
field-range-7...
field-range-8...
field-range-9...
field-range-10...
field-range-11...
field-range-12...
field-range-13...
field-range-14...
field-range-15...
field-range-16...
field-range-17...
field-range-18...
field-range-19...
all-fields-1...
field-range-err-1...
field-range-err-2...
field-range-err-3...
field-range-err-4...
field-range-err-6...
field-range-err-7...
field-range-err-8...
field-range-err-9...
field-range-err-10...
field-range-err-11...
field-range-err-12...
field-range-err-13...
whitespace-1...
whitespace-2...
whitespace-3...
whitespace-4...
whitespace-5...
whitespace-6...
whitespace-7...
whitespace-8...
mix-1...
mix-2...
mix-3...
mix-4...
mix-5...
mix-6...
mix-7...
mix-8...
mix-10...
mix-11...
mix-12...
mix-13...
mix-14...
header-1...
header-2...
header-3...
header-4...
header-5...
header-6...
header-7...
header-8...
header-9...
strtod-1...
strtod-2...
strtod-5...
strtod-6...
strtod-6.1...
strtod-9...
strtod-10...
strtod-11...
dbl-to-human-1...
dbl-to-human-2...
dbl-to-human-2.1...
dbl-to-human-2.2...
dbl-to-human-2.3...
dbl-to-human-2.4...
dbl-to-human-2.5...
dbl-to-human-2.6...
dbl-to-human-2.7...
dbl-to-human-2.8...
dbl-to-human-3...
dbl-to-human-3.1...
dbl-to-human-4...
dbl-to-human-5...
dbl-to-human-6...
dbl-to-human-7...
dbl-to-human-8...
dbl-to-human-9...
dbl-to-human-10...
dbl-to-human-11...
dbl-to-human-12...
dbl-to-human-13...
dbl-to-human-14...
dbl-to-human-15...
dbl-to-human-16...
dbl-to-human-17...
dbl-to-human-18...
dbl-to-human-19...
dbl-to-human-20...
dbl-to-human-21...
dbl-to-human-22...
dbl-to-human-23...
dbl-to-human-24...
dbl-to-human-25...
dbl-to-human-25.1...
dbl-to-human-26...
dbl-to-human-27...
dbl-to-human-28...
dbl-to-human-29...
dbl-to-human-30...
dbl-to-human-31...
dbl-to-human-32...
dbl-to-human-33...
round-1...
round-2...
round-3...
round-4...
round-5...
round-1-up...
round-2-up...
round-3-up...
round-4-up...
round-5-up...
round-1-down...
round-2-down...
round-3-down...
round-4-down...
round-5-down...
round-1-to-zero...
round-2-to-zero...
round-3-to-zero...
round-4-to-zero...
round-5-to-zero...
round-1-near...
round-2-near...
round-3-near...
round-4-near...
round-5-near...
leading-1...
leading-2...
leading-3...
leading-4...
leading-5...
precision-1...
precision-2...
precision-3...
precision-4...
precision-5...
precision-6...
precision-7...
precision-8...
precision-9...
debug-1...
debug-1.1...
debug-2...
numfmt.pl: test debug-2: stdout mismatch, comparing debug-2.1 (expected) and debug-2.O (actual)
*** debug-2.1	Sat Nov 26 01:09:39 2016
--- debug-2.O	Sat Nov 26 01:09:39 2016
***************
*** 1 ****
! 4000
--- 1 ----
! 4,000
devdebug-1...
devdebug-2...
devdebug-3...
devdebug-4...
devdebug-5...
devdebug-6...
devdebug-7...
devdebug-9...
numfmt.pl: test devdebug-9: stdout mismatch, comparing devdebug-9.1 (expected) and devdebug-9.O (actual)
*** devdebug-9.1	Sat Nov 26 01:09:39 2016
--- devdebug-9.O	Sat Nov 26 01:09:39 2016
***************
*** 1 ****
! 10000
--- 1 ----
! 10,000
devdebug-10...
devdebug-11...
numfmt.pl: test devdebug-11: stdout mismatch, comparing devdebug-11.1 (expected) and devdebug-11.O (actual)
*** devdebug-11.1	Sat Nov 26 01:09:39 2016
--- devdebug-11.O	Sat Nov 26 01:09:39 2016
***************
*** 1 ****
! 10000     
--- 1 ----
! 10,000    
help-1...
fmt-err-1...
fmt-err-2...
fmt-err-3...
fmt-err-4...
fmt-err-5...
fmt-err-6...
fmt-err-7...
fmt-err-9...
fmt-err-10...
fmt-err-11...
numfmt.pl: test fmt-err-11: stdout mismatch, comparing fmt-err-11.1 (expected) and fmt-err-11.O (actual)
*** fmt-err-11.1	Sat Nov 26 01:09:40 2016
--- fmt-err-11.O	Sat Nov 26 01:09:40 2016
***************
*** 1 ****
! 5000
--- 1 ----
! 5,000
fmt-1...
fmt-2...
fmt-3...
fmt-4...
fmt-5...
fmt-6...
fmt-7...
fmt-8...
fmt-9...
fmt-10...
fmt-11...
fmt-12...
numfmt.pl: test fmt-12: stdout mismatch, comparing fmt-12.1 (expected) and fmt-12.O (actual)
*** fmt-12.1	Sat Nov 26 01:09:40 2016
--- fmt-12.O	Sat Nov 26 01:09:40 2016
***************
*** 1 ****
! 50000
--- 1 ----
! 50,000
fmt-13...
numfmt.pl: test fmt-13: stdout mismatch, comparing fmt-13.1 (expected) and fmt-13.O (actual)
*** fmt-13.1	Sat Nov 26 01:09:40 2016
--- fmt-13.O	Sat Nov 26 01:09:40 2016
***************
*** 1 ****
!      50000
--- 1 ----
!     50,000
fmt-14...
numfmt.pl: test fmt-14: stdout mismatch, comparing fmt-14.1 (expected) and fmt-14.O (actual)
*** fmt-14.1	Sat Nov 26 01:09:40 2016
--- fmt-14.O	Sat Nov 26 01:09:40 2016
***************
*** 1 ****
! 50000     
--- 1 ----
! 50,000    
fmt-15...
fmt-16...
fmt-17...
fmt-18...
fmt-22...
fmt-23...
ign-err-1...
ign-err-2...
ign-err-3...
ign-err-4...
ign-err-5...
ign-err-7...
ign-err-8...
ign-err-9...
ign-err-m1...
ign-err-m1.1...
ign-err-m1.3...
ign-err-m2...
ign-err-m2.1...
ign-err-m2.2...
ign-err-m3...
ign-err-m3.1...
large-1...
large-2...
large-3...
large-4...
large-3.1...
large-3.2...
large-3.3...
large-3.4...
large-3.5...
large-3.6...
large-3.7...
large-3.8...
large-3.9...
large-3.10...
large-3.11...
large-3.12...
large-3.13...
large-3.14...
large-3.15...
large-3.16...
large-3.17...
large-3.18...
large-3.19...
large-3.20...
large-3.21...
large-3.22...
large-3.23...
large-3.24...
large-3.25...
large-3.26...
large-3.27...
large-3.28...
large-4.1...
large-4.2...
large-4.3...
large-4.4...
large-4.5...
large-4.6...
large-4.7...
large-4.8...
large-4.9...
large-4.10...
large-4.11...
large-4.12...
large-4.13...
large-4.14...
large-4.15...
large-4.16...
large-4.17...
large-4.18...
large-4.19...
large-4.20...
large-4.21...
large-5.1...
large-5...
large-6...
large-7...
large-8...
large-10...
large-11...
large-12...
large-13...
large-13.1...
large-14...
large-14.1...
large-14.2...
large-15...
large-16...
strtod-3...
strtod-7...
debug-4...
debug-5...
ign-err-10...
ign-err-11...
auto-suf-si-A...
auto-suf-si-B...
auto-suf-si-C...
auto-suf-si-D...
auto-suf-si-E...
auto-suf-iec-E...
auto-suf-auto-E...
auto-suf-iec-to-ieci-E...
auto-suf-ieci-to-iec-E...
auto-suf-si-F...
auto-suf-si-G...
auto-suf-iec-G...
auto-suf-auto-G...
auto-suf-iec-to-ieci-G...
auto-suf-ieci-to-iec-G...
auto-suf-si-H...
auto-suf-si-I...
auto-suf-si-J...
auto-suf-si-K...
auto-suf-iec-K...
auto-suf-auto-K...
auto-suf-iec-to-ieci-K...
auto-suf-ieci-to-iec-K...
auto-suf-si-L...
auto-suf-si-M...
auto-suf-iec-M...
auto-suf-auto-M...
auto-suf-iec-to-ieci-M...
auto-suf-ieci-to-iec-M...
auto-suf-si-N...
auto-suf-si-O...
auto-suf-si-P...
auto-suf-iec-P...
auto-suf-auto-P...
auto-suf-iec-to-ieci-P...
auto-suf-ieci-to-iec-P...
auto-suf-si-Q...
auto-suf-si-R...
auto-suf-si-S...
auto-suf-si-T...
auto-suf-iec-T...
auto-suf-auto-T...
auto-suf-iec-to-ieci-T...
auto-suf-ieci-to-iec-T...
auto-suf-si-U...
auto-suf-si-V...
auto-suf-si-W...
auto-suf-si-X...
auto-suf-si-Y...
auto-suf-iec-Y...
auto-suf-auto-Y...
auto-suf-iec-to-ieci-Y...
auto-suf-ieci-to-iec-Y...
auto-suf-si-Z...
auto-suf-iec-Z...
auto-suf-auto-Z...
auto-suf-iec-to-ieci-Z...
auto-suf-ieci-to-iec-Z...
auto-suf-si-a...
auto-suf-si-b...
auto-suf-si-c...
auto-suf-si-d...
auto-suf-si-e...
auto-suf-si-f...
auto-suf-si-g...
auto-suf-si-h...
auto-suf-si-i...
auto-suf-si-j...
auto-suf-si-k...
auto-suf-si-l...
auto-suf-si-m...
auto-suf-si-n...
auto-suf-si-o...
auto-suf-si-p...
auto-suf-si-q...
auto-suf-si-r...
auto-suf-si-s...
auto-suf-si-t...
auto-suf-si-u...
auto-suf-si-v...
auto-suf-si-w...
auto-suf-si-x...
auto-suf-si-y...
auto-suf-si-z...
z1...
z3...
z2...
z4...
z5...
FAIL tests/misc/numfmt.pl (exit status: 1)

FAIL: tests/misc/printf-cov
===========================

printf (GNU coreutils) 8.25.120-ca99c
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 David MacKenzie.
no-args...
no-arg2...
escape-1...
hex-ucX...
hex-ucXw...
hex-ucXp...
hex-ucXwp...
hex-vw...
hex-vp...
hex-vwvp...
b...
c1...
cw...
d-ucXwp...
d-vw...
d-vp...
d-vwvp...
d-neg-prec...
d-big-prec...
d-big-fwidth...
F...
LF...
E...
LE...
s...
sw...
sp...
swp...
sw-no-args...
sw-no-args2...
G-ucXwp...
G-vw...
G-vp...
G-vwvp...
esc...
esc-bad-hex...
u-invalid...
u-missing...
d-invalid...
d-bad-suffix...
d-out-of-range...
excess...
percent...
d-sp...
d-plus...
d-minus...
d-zero...
d-quote...
printf: test d-quote: stdout mismatch, comparing d-quote.1 (expected) and d-quote.O (actual)
*** d-quote.1	Sat Nov 26 01:09:45 2016
--- d-quote.O	Sat Nov 26 01:09:45 2016
***************
*** 1 ****
! 3333
\ No newline at end of file
--- 1 ----
! 3,333
\ No newline at end of file
d-hash...
FAIL tests/misc/printf-cov.pl (exit status: 1)

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

+ 'initial_cwd_=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c'
+ 'testdir_prefix_'
+ printf gt
+ 'pfx_=gt'
+ 'mktempd_' '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c' 'gt-retry.sh.XXXX'
+ 'destdir_=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c'
+ 'template_=gt-retry.sh.XXXX'
+ 'MAX_TRIES_=4'
+ 'destdir_slash_=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/'
+ unset TMPDIR
+ 'd=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-retry.sh.IWka'
+ ':'
+ test -d '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-retry.sh.IWka'
+ ls -dgo '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-retry.sh.IWka'
+ 'perms=drwx------ 2 512 Nov 26 01:10 /tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-retry.sh.IWka'
+ ':'
+ echo '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-retry.sh.IWka'
+ return
+ 'test_dir_=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-retry.sh.IWka'
+ cd '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-retry.sh.IWka'
+ '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/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/./src'
+ 'PATH=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/./src:/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/src:/usr/bin:/bin:/usr/pkg/bin:/sbin:/usr/sbin'
+ 'create_exe_shims_' '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/./src'
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ 'print_ver_' tail
+ 'require_built_' tail
+ 'skip_=no'
+ test no = yes
+ test yes = yes
+ local i
+ env tail --version
tail (GNU coreutils) 8.25.120-ca99c
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'
+ touch file
+ tail --retry file
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 1 = 1 ']'
+ grep -F 'tail: warning: --retry ignored' out
tail: warning: --retry ignored; --retry is useful only when following
+ 'returns_' 1 tail --retry missing
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 2 = 2 ']'
+ grep -F 'tail: warning: --retry ignored' out
tail: warning: --retry ignored; --retry is useful only when following
+ 
+ timeout 10 tail '-s.1' --max-unchanged-stats=1 --follow=name --retry missing
+ pid=29764
+ 'retry_delay_' 'wait4lines_' '.1' 6 1
+ local 'test_func=wait4lines_'
+ local 'init_delay=.1'
+ local 'max_n_tries=6'
+ shift 3
+ local attempt=1
+ local 'num_sleeps=1'
+ local 'time_fail'
+ test 1 -le 6
+ awk -v n=1 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.1'
+ 'wait4lines_' '0.1' 1
+ local 'delay=0.1'
+ local elc=1
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 1 -ge 1 ']'
+ 'time_fail=0'
+ break
+ test 0 = 0
+ echo X
+ 'retry_delay_' 'wait4lines_' '.1' 6 3
+ local 'test_func=wait4lines_'
+ local 'init_delay=.1'
+ local 'max_n_tries=6'
+ shift 3
+ local attempt=1
+ local 'num_sleeps=1'
+ local 'time_fail'
+ test 1 -le 6
+ awk -v n=1 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.1'
+ 'wait4lines_' '0.1' 3
+ local 'delay=0.1'
+ local elc=3
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 1 -ge 3 ']'
+ sleep '0.1'
+ return 1
+ 'time_fail=1'
+ expr 1 '+' 1
+ attempt=2
+ expr 1 '*' 2
+ 'num_sleeps=2'
+ test 2 -le 6
+ awk -v n=2 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.2'
+ 'wait4lines_' '0.2' 3
+ local 'delay=0.2'
+ local elc=3
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 2 -ge 3 ']'
+ sleep '0.2'
+ return 1
+ 'time_fail=1'
+ expr 2 '+' 1
+ attempt=3
+ expr 2 '*' 2
+ 'num_sleeps=4'
+ test 3 -le 6
+ awk -v n=4 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.4'
+ 'wait4lines_' '0.4' 3
+ local 'delay=0.4'
+ local elc=3
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 3 -ge 3 ']'
+ 'time_fail=0'
+ break
+ test 0 = 0
+ 'cleanup_'
+ kill 29764
+ wait 29764
[1]   Terminated              timeout 10 tail ...
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 3 = 3 ']'
+ grep -F 'cannot open' out
tail: cannot open 'missing' for reading: No such file or directory
+ grep -F 'has appeared' out
tail: 'missing' has appeared;  following new file
+ grep '^X$' out
X
+ rm -f missing out
+ timeout 10 tail '-s.1' --max-unchanged-stats=1 --follow=descriptor --retry missing
+ pid=12730
+ 'retry_delay_' 'wait4lines_' '.1' 6 2
+ local 'test_func=wait4lines_'
+ local 'init_delay=.1'
+ local 'max_n_tries=6'
+ shift 3
+ local attempt=1
+ local 'num_sleeps=1'
+ local 'time_fail'
+ test 1 -le 6
+ awk -v n=1 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.1'
+ 'wait4lines_' '0.1' 2
+ local 'delay=0.1'
+ local elc=2
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 2 -ge 2 ']'
+ 'time_fail=0'
+ break
+ test 0 = 0
+ echo X1
+ 'retry_delay_' 'wait4lines_' '.1' 6 4
+ local 'test_func=wait4lines_'
+ local 'init_delay=.1'
+ local 'max_n_tries=6'
+ shift 3
+ local attempt=1
+ local 'num_sleeps=1'
+ local 'time_fail'
+ test 1 -le 6
+ awk -v n=1 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.1'
+ 'wait4lines_' '0.1' 4
+ local 'delay=0.1'
+ local elc=4
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 2 -ge 4 ']'
+ sleep '0.1'
+ return 1
+ 'time_fail=1'
+ expr 1 '+' 1
+ attempt=2
+ expr 1 '*' 2
+ 'num_sleeps=2'
+ test 2 -le 6
+ awk -v n=2 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.2'
+ 'wait4lines_' '0.2' 4
+ local 'delay=0.2'
+ local elc=4
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 3 -ge 4 ']'
+ sleep '0.2'
+ return 1
+ 'time_fail=1'
+ expr 2 '+' 1
+ attempt=3
+ expr 2 '*' 2
+ 'num_sleeps=4'
+ test 3 -le 6
+ awk -v n=4 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.4'
+ 'wait4lines_' '0.4' 4
+ local 'delay=0.4'
+ local elc=4
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 4 -ge 4 ']'
+ 'time_fail=0'
+ break
+ test 0 = 0
+ echo X
+ 'retry_delay_' 'wait4lines_' '.1' 6 6
+ local 'test_func=wait4lines_'
+ local 'init_delay=.1'
+ local 'max_n_tries=6'
+ shift 3
+ local attempt=1
+ local 'num_sleeps=1'
+ local 'time_fail'
+ test 1 -le 6
+ awk -v n=1 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.1'
+ 'wait4lines_' '0.1' 6
+ local 'delay=0.1'
+ local elc=6
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 4 -ge 6 ']'
+ sleep '0.1'
+ return 1
+ 'time_fail=1'
+ expr 1 '+' 1
+ attempt=2
+ expr 1 '*' 2
+ 'num_sleeps=2'
+ test 2 -le 6
+ awk -v n=2 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.2'
+ 'wait4lines_' '0.2' 6
+ local 'delay=0.2'
+ local elc=6
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 6 -ge 6 ']'
+ 'time_fail=0'
+ break
+ test 0 = 0
+ 'cleanup_'
+ kill 12730
+ wait 12730
[1]   Terminated              timeout 10 tail ...
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 6 = 6 ']'
+ grep -F 'retry only effective for the initial open' out
tail: warning: --retry only effective for the initial open
+ grep -F 'cannot open' out
tail: cannot open 'missing' for reading: No such file or directory
+ grep -F 'has appeared' out
tail: 'missing' has appeared;  following new file
+ grep '^X1$' out
X1
+ grep -F 'file truncated' out
tail: missing: file truncated
+ grep '^X$' out
X
+ rm -f missing out
+ timeout 10 tail '-s.1' --max-unchanged-stats=1 --follow=descriptor --retry missing
+ pid=4563
+ 'retry_delay_' 'wait4lines_' '.1' 6 2
+ local 'test_func=wait4lines_'
+ local 'init_delay=.1'
+ local 'max_n_tries=6'
+ shift 3
+ local attempt=1
+ local 'num_sleeps=1'
+ local 'time_fail'
+ test 1 -le 6
+ awk -v n=1 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.1'
+ 'wait4lines_' '0.1' 2
+ local 'delay=0.1'
+ local elc=2
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 2 -ge 2 ']'
+ 'time_fail=0'
+ break
+ test 0 = 0
+ mkdir missing
+ 'retry_delay_' 'wait4lines_' '.1' 6 4
+ local 'test_func=wait4lines_'
+ local 'init_delay=.1'
+ local 'max_n_tries=6'
+ shift 3
+ local attempt=1
+ local 'num_sleeps=1'
+ local 'time_fail'
+ test 1 -le 6
+ awk -v n=1 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.1'
+ 'wait4lines_' '0.1' 4
+ local 'delay=0.1'
+ local elc=4
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 2 -ge 4 ']'
+ sleep '0.1'
+ return 1
+ 'time_fail=1'
+ expr 1 '+' 1
+ attempt=2
+ expr 1 '*' 2
+ 'num_sleeps=2'
+ test 2 -le 6
+ awk -v n=2 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.2'
+ 'wait4lines_' '0.2' 4
+ local 'delay=0.2'
+ local elc=4
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 4 -ge 4 ']'
+ 'time_fail=0'
+ break
+ test 0 = 0
+ wait 4563
+ rc=127
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 4 = 4 ']'
+ grep -F 'retry only effective for the initial open' out
tail: warning: --retry only effective for the initial open
+ grep -F 'cannot open' out
tail: cannot open 'missing' for reading: No such file or directory
+ grep -F 'replaced with an untailable file' out
tail: 'missing' has been replaced with an untailable file; giving up on this name
+ grep -F 'no files remaining' out
tail: no files remaining
+ '[' 127 = 1 ']'
+ fail=1
+ cat out
tail: warning: --retry only effective for the initial open
tail: cannot open 'missing' for reading: No such file or directory
tail: 'missing' has been replaced with an untailable file; giving up on this name
tail: no files remaining
+ rm -fd missing out
+ touch existing
+ tail '-s.1' --max-unchanged-stats=1 --follow=descriptor missing existing
+ pid=12772
+ 'retry_delay_' 'wait4lines_' '.1' 6 2
+ local 'test_func=wait4lines_'
+ local 'init_delay=.1'
+ local 'max_n_tries=6'
+ shift 3
+ local attempt=1
+ local 'num_sleeps=1'
+ local 'time_fail'
+ test 1 -le 6
+ awk -v n=1 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.1'
+ 'wait4lines_' '0.1' 2
+ local 'delay=0.1'
+ local elc=2
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 2 -ge 2 ']'
+ 'time_fail=0'
+ break
+ test 0 = 0
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 2 = 2 ']'
+ grep -F 'cannot open' out
tail: cannot open 'missing' for reading: No such file or directory
+ echo Y
+ echo X
+ 'retry_delay_' 'wait4lines_' '.1' 6 3
+ local 'test_func=wait4lines_'
+ local 'init_delay=.1'
+ local 'max_n_tries=6'
+ shift 3
+ local attempt=1
+ local 'num_sleeps=1'
+ local 'time_fail'
+ test 1 -le 6
+ awk -v n=1 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.1'
+ 'wait4lines_' '0.1' 3
+ local 'delay=0.1'
+ local elc=3
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 2 -ge 3 ']'
+ sleep '0.1'
+ return 1
+ 'time_fail=1'
+ expr 1 '+' 1
+ attempt=2
+ expr 1 '*' 2
+ 'num_sleeps=2'
+ test 2 -le 6
+ awk -v n=2 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.2'
+ 'wait4lines_' '0.2' 3
+ local 'delay=0.2'
+ local elc=3
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 3 -ge 3 ']'
+ 'time_fail=0'
+ break
+ test 0 = 0
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 3 = 3 ']'
+ grep '^X$' out
X
+ grep '^Y$' out
+ 'cleanup_'
+ kill 12772
+ wait 12772
[1]   Terminated              tail ${mode} ${f...
+ rm -f missing out existing
+ 'returns_' 1 tail --follow=descriptor missing
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 2 = 2 ']'
+ grep -F 'cannot open' out
tail: cannot open 'missing' for reading: No such file or directory
+ grep -F 'no files remaining' out
tail: no files remaining
+ rm -f out
+ 'returns_' 1 tail --follow=name missing
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 2 = 2 ']'
+ grep -F 'cannot open' out
tail: cannot open 'missing' for reading: No such file or directory
+ grep -F 'no files remaining' out
tail: no files remaining
+ rm -f out
+ cat '.'
+ 
+ timeout 10 tail ---disable-inotify '-s.1' --max-unchanged-stats=1 --follow=name --retry missing
+ pid=14727
+ 'retry_delay_' 'wait4lines_' '.1' 6 1
+ local 'test_func=wait4lines_'
+ local 'init_delay=.1'
+ local 'max_n_tries=6'
+ shift 3
+ local attempt=1
+ local 'num_sleeps=1'
+ local 'time_fail'
+ test 1 -le 6
+ awk -v n=1 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.1'
+ 'wait4lines_' '0.1' 1
+ local 'delay=0.1'
+ local elc=1
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 1 -ge 1 ']'
+ 'time_fail=0'
+ break
+ test 0 = 0
+ echo X
+ 'retry_delay_' 'wait4lines_' '.1' 6 3
+ local 'test_func=wait4lines_'
+ local 'init_delay=.1'
+ local 'max_n_tries=6'
+ shift 3
+ local attempt=1
+ local 'num_sleeps=1'
+ local 'time_fail'
+ test 1 -le 6
+ awk -v n=1 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.1'
+ 'wait4lines_' '0.1' 3
+ local 'delay=0.1'
+ local elc=3
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 1 -ge 3 ']'
+ sleep '0.1'
+ return 1
+ 'time_fail=1'
+ expr 1 '+' 1
+ attempt=2
+ expr 1 '*' 2
+ 'num_sleeps=2'
+ test 2 -le 6
+ awk -v n=2 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.2'
+ 'wait4lines_' '0.2' 3
+ local 'delay=0.2'
+ local elc=3
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 2 -ge 3 ']'
+ sleep '0.2'
+ return 1
+ 'time_fail=1'
+ expr 2 '+' 1
+ attempt=3
+ expr 2 '*' 2
+ 'num_sleeps=4'
+ test 3 -le 6
+ awk -v n=4 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.4'
+ 'wait4lines_' '0.4' 3
+ local 'delay=0.4'
+ local elc=3
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 3 -ge 3 ']'
+ 'time_fail=0'
+ break
+ test 0 = 0
+ 'cleanup_'
+ kill 14727
+ wait 14727
[1]   Terminated              timeout 10 tail ...
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 3 = 3 ']'
+ grep -F 'cannot open' out
tail: cannot open 'missing' for reading: No such file or directory
+ grep -F 'has appeared' out
tail: 'missing' has appeared;  following new file
+ grep '^X$' out
X
+ rm -f missing out
+ timeout 10 tail ---disable-inotify '-s.1' --max-unchanged-stats=1 --follow=descriptor --retry missing
+ pid=11148
+ 'retry_delay_' 'wait4lines_' '.1' 6 2
+ local 'test_func=wait4lines_'
+ local 'init_delay=.1'
+ local 'max_n_tries=6'
+ shift 3
+ local attempt=1
+ local 'num_sleeps=1'
+ local 'time_fail'
+ test 1 -le 6
+ awk -v n=1 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.1'
+ 'wait4lines_' '0.1' 2
+ local 'delay=0.1'
+ local elc=2
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 2 -ge 2 ']'
+ 'time_fail=0'
+ break
+ test 0 = 0
+ echo X1
+ 'retry_delay_' 'wait4lines_' '.1' 6 4
+ local 'test_func=wait4lines_'
+ local 'init_delay=.1'
+ local 'max_n_tries=6'
+ shift 3
+ local attempt=1
+ local 'num_sleeps=1'
+ local 'time_fail'
+ test 1 -le 6
+ awk -v n=1 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.1'
+ 'wait4lines_' '0.1' 4
+ local 'delay=0.1'
+ local elc=4
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 2 -ge 4 ']'
+ sleep '0.1'
+ return 1
+ 'time_fail=1'
+ expr 1 '+' 1
+ attempt=2
+ expr 1 '*' 2
+ 'num_sleeps=2'
+ test 2 -le 6
+ awk -v n=2 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.2'
+ 'wait4lines_' '0.2' 4
+ local 'delay=0.2'
+ local elc=4
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 3 -ge 4 ']'
+ sleep '0.2'
+ return 1
+ 'time_fail=1'
+ expr 2 '+' 1
+ attempt=3
+ expr 2 '*' 2
+ 'num_sleeps=4'
+ test 3 -le 6
+ awk -v n=4 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.4'
+ 'wait4lines_' '0.4' 4
+ local 'delay=0.4'
+ local elc=4
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 4 -ge 4 ']'
+ 'time_fail=0'
+ break
+ test 0 = 0
+ echo X
+ 'retry_delay_' 'wait4lines_' '.1' 6 6
+ local 'test_func=wait4lines_'
+ local 'init_delay=.1'
+ local 'max_n_tries=6'
+ shift 3
+ local attempt=1
+ local 'num_sleeps=1'
+ local 'time_fail'
+ test 1 -le 6
+ awk -v n=1 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.1'
+ 'wait4lines_' '0.1' 6
+ local 'delay=0.1'
+ local elc=6
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 4 -ge 6 ']'
+ sleep '0.1'
+ return 1
+ 'time_fail=1'
+ expr 1 '+' 1
+ attempt=2
+ expr 1 '*' 2
+ 'num_sleeps=2'
+ test 2 -le 6
+ awk -v n=2 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.2'
+ 'wait4lines_' '0.2' 6
+ local 'delay=0.2'
+ local elc=6
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 6 -ge 6 ']'
+ 'time_fail=0'
+ break
+ test 0 = 0
+ 'cleanup_'
+ kill 11148
+ wait 11148
[1]   Terminated              timeout 10 tail ...
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 6 = 6 ']'
+ grep -F 'retry only effective for the initial open' out
tail: warning: --retry only effective for the initial open
+ grep -F 'cannot open' out
tail: cannot open 'missing' for reading: No such file or directory
+ grep -F 'has appeared' out
tail: 'missing' has appeared;  following new file
+ grep '^X1$' out
X1
+ grep -F 'file truncated' out
tail: missing: file truncated
+ grep '^X$' out
X
+ rm -f missing out
+ timeout 10 tail ---disable-inotify '-s.1' --max-unchanged-stats=1 --follow=descriptor --retry missing
+ pid=3716
+ 'retry_delay_' 'wait4lines_' '.1' 6 2
+ local 'test_func=wait4lines_'
+ local 'init_delay=.1'
+ local 'max_n_tries=6'
+ shift 3
+ local attempt=1
+ local 'num_sleeps=1'
+ local 'time_fail'
+ test 1 -le 6
+ awk -v n=1 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.1'
+ 'wait4lines_' '0.1' 2
+ local 'delay=0.1'
+ local elc=2
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 2 -ge 2 ']'
+ 'time_fail=0'
+ break
+ test 0 = 0
+ mkdir missing
+ 'retry_delay_' 'wait4lines_' '.1' 6 4
+ local 'test_func=wait4lines_'
+ local 'init_delay=.1'
+ local 'max_n_tries=6'
+ shift 3
+ local attempt=1
+ local 'num_sleeps=1'
+ local 'time_fail'
+ test 1 -le 6
+ awk -v n=1 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.1'
+ 'wait4lines_' '0.1' 4
+ local 'delay=0.1'
+ local elc=4
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 2 -ge 4 ']'
+ sleep '0.1'
+ return 1
+ 'time_fail=1'
+ expr 1 '+' 1
+ attempt=2
+ expr 1 '*' 2
+ 'num_sleeps=2'
+ test 2 -le 6
+ awk -v n=2 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.2'
+ 'wait4lines_' '0.2' 4
+ local 'delay=0.2'
+ local elc=4
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 4 -ge 4 ']'
+ 'time_fail=0'
+ break
+ test 0 = 0
+ wait 3716
+ rc=127
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 4 = 4 ']'
+ grep -F 'retry only effective for the initial open' out
tail: warning: --retry only effective for the initial open
+ grep -F 'cannot open' out
tail: cannot open 'missing' for reading: No such file or directory
+ grep -F 'replaced with an untailable file' out
tail: 'missing' has been replaced with an untailable file; giving up on this name
+ grep -F 'no files remaining' out
tail: no files remaining
+ '[' 127 = 1 ']'
+ fail=1
+ cat out
tail: warning: --retry only effective for the initial open
tail: cannot open 'missing' for reading: No such file or directory
tail: 'missing' has been replaced with an untailable file; giving up on this name
tail: no files remaining
+ rm -fd missing out
+ touch existing
+ tail ---disable-inotify '-s.1' --max-unchanged-stats=1 --follow=descriptor missing existing
+ pid=328
+ 'retry_delay_' 'wait4lines_' '.1' 6 2
+ local 'test_func=wait4lines_'
+ local 'init_delay=.1'
+ local 'max_n_tries=6'
+ shift 3
+ local attempt=1
+ local 'num_sleeps=1'
+ local 'time_fail'
+ test 1 -le 6
+ awk -v n=1 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.1'
+ 'wait4lines_' '0.1' 2
+ local 'delay=0.1'
+ local elc=2
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 2 -ge 2 ']'
+ 'time_fail=0'
+ break
+ test 0 = 0
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 2 = 2 ']'
+ grep -F 'cannot open' out
tail: cannot open 'missing' for reading: No such file or directory
+ echo Y
+ echo X
+ 'retry_delay_' 'wait4lines_' '.1' 6 3
+ local 'test_func=wait4lines_'
+ local 'init_delay=.1'
+ local 'max_n_tries=6'
+ shift 3
+ local attempt=1
+ local 'num_sleeps=1'
+ local 'time_fail'
+ test 1 -le 6
+ awk -v n=1 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.1'
+ 'wait4lines_' '0.1' 3
+ local 'delay=0.1'
+ local elc=3
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 2 -ge 3 ']'
+ sleep '0.1'
+ return 1
+ 'time_fail=1'
+ expr 1 '+' 1
+ attempt=2
+ expr 1 '*' 2
+ 'num_sleeps=2'
+ test 2 -le 6
+ awk -v n=2 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.2'
+ 'wait4lines_' '0.2' 3
+ local 'delay=0.2'
+ local elc=3
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 3 -ge 3 ']'
+ 'time_fail=0'
+ break
+ test 0 = 0
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 3 = 3 ']'
+ grep '^X$' out
X
+ grep '^Y$' out
+ 'cleanup_'
+ kill 328
+ wait 328
[1]   Terminated              tail ${mode} ${f...
+ rm -f missing out existing
+ 'returns_' 1 tail ---disable-inotify --follow=descriptor missing
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 2 = 2 ']'
+ grep -F 'cannot open' out
tail: cannot open 'missing' for reading: No such file or directory
+ grep -F 'no files remaining' out
tail: no files remaining
+ rm -f out
+ 'returns_' 1 tail ---disable-inotify --follow=name missing
+ 'countlines_'
+ grep -Ev 'inotify (resources exhausted|cannot be used)' out
+ wc -l
+ '[' 2 = 2 ']'
+ grep -F 'cannot open' out
tail: cannot open 'missing' for reading: No such file or directory
+ grep -F 'no files remaining' out
tail: no files remaining
+ rm -f out
+ cat '.'
+ Exit 1
+ set '+e'
+ exit 1
+ exit 1
+ 'remove_tmp_'
+ '__st=1'
+ 'cleanup_'
+ kill 328
+ cd '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c'
+ chmod -R 'u+rwx' '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-retry.sh.IWka'
+ rm -rf '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-retry.sh.IWka'
+ exit 1
FAIL tests/tail-2/retry.sh (exit status: 1)

FAIL: tests/cp/existing-perm-race
=================================

+ 'initial_cwd_=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c'
+ 'testdir_prefix_'
+ printf gt
+ 'pfx_=gt'
+ 'mktempd_' '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c' 'gt-existing-perm-race.sh.XXXX'
+ 'destdir_=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c'
+ 'template_=gt-existing-perm-race.sh.XXXX'
+ 'MAX_TRIES_=4'
+ 'destdir_slash_=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/'
+ unset TMPDIR
+ 'd=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-existing-perm-race.sh.JaUG'
+ ':'
+ test -d '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-existing-perm-race.sh.JaUG'
+ ls -dgo '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-existing-perm-race.sh.JaUG'
+ 'perms=drwx------ 2 512 Nov 26 01:10 /tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-existing-perm-race.sh.JaUG'
+ ':'
+ echo '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-existing-perm-race.sh.JaUG'
+ return
+ 'test_dir_=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-existing-perm-race.sh.JaUG'
+ cd '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-existing-perm-race.sh.JaUG'
+ '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/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/./src'
+ 'PATH=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/./src:/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/src:/usr/bin:/bin:/usr/pkg/bin:/sbin:/usr/sbin'
+ 'create_exe_shims_' '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/./src'
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ 'print_ver_' cp
+ 'require_built_' cp
+ 'skip_=no'
+ test no = yes
+ test yes = yes
+ local i
+ env cp --version
cp (GNU coreutils) 8.25.120-ca99c
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 Torbjorn Granlund, David MacKenzie, and Jim Meyering.
+ 'require_membership_in_two_groups_'
+ test 0 = 0
+ 'groups=100 0'
+ 'require_local_dir_'
+ 'require_mount_list_'
+ local 'mount_list_fail=cannot read table of mounted file systems'
+ df --local
+ grep -F 'cannot read table of mounted file systems'
+ 'is_local_dir_' '.'
+ test 1 = 1
+ df --local '.'
+ 'require_no_default_acl_' '.'
+ getfacl --version
getfacl: not found
+ ls -ld '.'
+ grep '.........+'
+ set '_' 100 0
+ shift
+ g1=100
+ g2=0
+ umask 077
+ 'mkfifo_or_skip_' fifo
+ test 1 = 1
+ mkfifo fifo
+ touch fifo-copy
+ chgrp 100 fifo
+ chgrp 0 fifo-copy
+ chmod 'g+r' fifo-copy
+ cp -p --copy-contents fifo fifo-copy
+ pid=16058
+ test '!' -s fifo-copy
+ echo foo
+ test '!' -s fifo-copy
+ ls -l -n fifo-copy
+ echo foo
+ read mode links owner group etc
+ test 0 = 100
+ wait 16058
+ fail=1
+ ls -l -n fifo-copy
+ read mode links owner group etc
+ test 100 = 100
+ Exit 1
+ set '+e'
+ exit 1
+ exit 1
+ 'remove_tmp_'
+ '__st=1'
+ 'cleanup_'
+ kill 16058
+ cd '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c'
+ chmod -R 'u+rwx' '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-existing-perm-race.sh.JaUG'
+ rm -rf '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-existing-perm-race.sh.JaUG'
+ exit 1
FAIL tests/cp/existing-perm-race.sh (exit status: 1)

FAIL: tests/cp/file-perm-race
=============================

+ 'initial_cwd_=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c'
+ 'testdir_prefix_'
+ printf gt
+ 'pfx_=gt'
+ 'mktempd_' '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c' 'gt-file-perm-race.sh.XXXX'
+ 'destdir_=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c'
+ 'template_=gt-file-perm-race.sh.XXXX'
+ 'MAX_TRIES_=4'
+ 'destdir_slash_=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/'
+ unset TMPDIR
+ 'd=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-file-perm-race.sh.x5e3'
+ ':'
+ test -d '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-file-perm-race.sh.x5e3'
+ ls -dgo '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-file-perm-race.sh.x5e3'
+ 'perms=drwx------ 2 512 Nov 26 01:10 /tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-file-perm-race.sh.x5e3'
+ ':'
+ echo '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-file-perm-race.sh.x5e3'
+ return
+ 'test_dir_=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-file-perm-race.sh.x5e3'
+ cd '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-file-perm-race.sh.x5e3'
+ '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/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/./src'
+ 'PATH=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/./src:/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/src:/usr/bin:/bin:/usr/pkg/bin:/sbin:/usr/sbin'
+ 'create_exe_shims_' '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/./src'
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ 'print_ver_' cp
+ 'require_built_' cp
+ 'skip_=no'
+ test no = yes
+ test yes = yes
+ local i
+ env cp --version
cp (GNU coreutils) 8.25.120-ca99c
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 Torbjorn Granlund, David MacKenzie, and Jim Meyering.
+ 'require_local_dir_'
+ 'require_mount_list_'
+ local 'mount_list_fail=cannot read table of mounted file systems'
+ df --local
+ grep -F 'cannot read table of mounted file systems'
+ 'is_local_dir_' '.'
+ test 1 = 1
+ df --local '.'
+ umask 022
+ 'mkfifo_or_skip_' fifo
+ test 1 = 1
+ mkfifo fifo
+ cp -p --copy-contents fifo fifo-copy
+ pid=20890
+ test '!' -f fifo-copy
+ ls -l fifo-copy
+ echo foo
+ cat 'ls.out'
+ wait 20890
+ fail=1
+ Exit 1
+ set '+e'
+ exit 1
+ exit 1
+ 'remove_tmp_'
+ '__st=1'
+ 'cleanup_'
+ kill 20890
+ cd '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c'
+ chmod -R 'u+rwx' '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-file-perm-race.sh.x5e3'
+ rm -rf '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-file-perm-race.sh.x5e3'
+ exit 1
FAIL tests/cp/file-perm-race.sh (exit status: 1)

FAIL: tests/cp/parent-perm-race
===============================

+ 'initial_cwd_=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c'
+ 'testdir_prefix_'
+ printf gt
+ 'pfx_=gt'
+ 'mktempd_' '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c' 'gt-parent-perm-race.sh.XXXX'
+ 'destdir_=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c'
+ 'template_=gt-parent-perm-race.sh.XXXX'
+ 'MAX_TRIES_=4'
+ 'destdir_slash_=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/'
+ unset TMPDIR
+ 'd=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-parent-perm-race.sh.t8QN'
+ ':'
+ test -d '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-parent-perm-race.sh.t8QN'
+ ls -dgo '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-parent-perm-race.sh.t8QN'
+ 'perms=drwx------ 2 512 Nov 26 01:10 /tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-parent-perm-race.sh.t8QN'
+ ':'
+ echo '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-parent-perm-race.sh.t8QN'
+ return
+ 'test_dir_=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-parent-perm-race.sh.t8QN'
+ cd '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-parent-perm-race.sh.t8QN'
+ '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/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/./src'
+ 'PATH=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/./src:/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/src:/usr/bin:/bin:/usr/pkg/bin:/sbin:/usr/sbin'
+ 'create_exe_shims_' '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/./src'
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ 'print_ver_' cp
+ 'require_built_' cp
+ 'skip_=no'
+ test no = yes
+ test yes = yes
+ local i
+ env cp --version
cp (GNU coreutils) 8.25.120-ca99c
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 Torbjorn Granlund, David MacKenzie, and Jim Meyering.
+ 'require_local_dir_'
+ 'require_mount_list_'
+ local 'mount_list_fail=cannot read table of mounted file systems'
+ df --local
+ grep -F 'cannot read table of mounted file systems'
+ 'is_local_dir_' '.'
+ test 1 = 1
+ df --local '.'
+ umask 002
+ mkdir mode ownership d
+ chmod 'g+s' d
+ pid=
+ 'mkfifo_or_skip_' mode/fifo
+ test 1 = 1
+ mkfifo mode/fifo
+ timeout 10 cp --preserve=mode -R --copy-contents --parents mode d
+ pid=27529
+ timeout 10 sh -c 'ls -ld d/mode >mode/fifo'
+ wait 27529
+ fail=1
+ cat d/mode/fifo
+ 'ls_output=drwxr-xr-x 2 miles wheel 512 Nov 26 01:10 d/mode'
+ 'mkfifo_or_skip_' ownership/fifo
+ test 1 = 1
+ mkfifo ownership/fifo
+ timeout 10 cp --preserve=ownership -R --copy-contents --parents ownership d
+ pid=21529
+ timeout 10 sh -c 'ls -ld d/ownership >ownership/fifo'
+ wait 21529
+ fail=1
+ cat d/ownership/fifo
+ 'ls_output=drwx------ 2 miles wheel 512 Nov 26 01:10 d/ownership'
+ Exit 1
+ set '+e'
+ exit 1
+ exit 1
+ 'remove_tmp_'
+ '__st=1'
+ 'cleanup_'
+ kill 21529
+ cd '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c'
+ chmod -R 'u+rwx' '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-parent-perm-race.sh.t8QN'
+ rm -rf '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-parent-perm-race.sh.t8QN'
+ exit 1
FAIL tests/cp/parent-perm-race.sh (exit status: 1)

FAIL: tests/tail-2/pipe-f2
==========================

+ 'initial_cwd_=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c'
+ 'testdir_prefix_'
+ printf gt
+ 'pfx_=gt'
+ 'mktempd_' '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c' 'gt-pipe-f2.sh.XXXX'
+ 'destdir_=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c'
+ 'template_=gt-pipe-f2.sh.XXXX'
+ 'MAX_TRIES_=4'
+ 'destdir_slash_=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/'
+ unset TMPDIR
+ 'd=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-pipe-f2.sh.jd6G'
+ ':'
+ test -d '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-pipe-f2.sh.jd6G'
+ ls -dgo '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-pipe-f2.sh.jd6G'
+ 'perms=drwx------ 2 512 Nov 26 01:10 /tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-pipe-f2.sh.jd6G'
+ ':'
+ echo '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-pipe-f2.sh.jd6G'
+ return
+ 'test_dir_=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-pipe-f2.sh.jd6G'
+ cd '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-pipe-f2.sh.jd6G'
+ '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/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/./src'
+ 'PATH=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/./src:/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/src:/usr/bin:/bin:/usr/pkg/bin:/sbin:/usr/sbin'
+ 'create_exe_shims_' '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/./src'
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ 'print_ver_' tail
+ 'require_built_' tail
+ 'skip_=no'
+ test no = yes
+ test yes = yes
+ local i
+ env tail --version
tail (GNU coreutils) 8.25.120-ca99c
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.
+ 'mkfifo_or_skip_' fifo
+ test 1 = 1
+ mkfifo fifo
+ echo 1
+ echo 1
+ 'fastpoll=-s.1 --max-unchanged-stats=1'
+ timeout 10 tail '-s.1' --max-unchanged-stats=1 -f fifo
+ pid=22364
+ '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
+ awk -v n=1 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.1'
+ 'check_tail_output' '0.1'
+ sleep '0.1'
+ test -s out
+ 'time_fail=1'
+ expr 1 '+' 1
+ attempt=2
+ expr 1 '*' 2
+ 'num_sleeps=2'
+ test 2 -le 7
+ awk -v n=2 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.2'
+ 'check_tail_output' '0.2'
+ sleep '0.2'
+ test -s out
+ 'time_fail=1'
+ expr 2 '+' 1
+ attempt=3
+ expr 2 '*' 2
+ 'num_sleeps=4'
+ test 3 -le 7
+ awk -v n=4 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.4'
+ 'check_tail_output' '0.4'
+ sleep '0.4'
+ test -s out
+ 'time_fail=1'
+ expr 3 '+' 1
+ attempt=4
+ expr 4 '*' 2
+ 'num_sleeps=8'
+ test 4 -le 7
+ awk -v n=8 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=0.8'
+ 'check_tail_output' '0.8'
+ sleep '0.8'
+ test -s out
+ 'time_fail=1'
+ expr 4 '+' 1
+ attempt=5
+ expr 8 '*' 2
+ 'num_sleeps=16'
+ test 5 -le 7
+ awk -v n=16 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=1.6'
+ 'check_tail_output' '1.6'
+ sleep '1.6'
+ test -s out
+ 'time_fail=1'
+ expr 5 '+' 1
+ attempt=6
+ expr 16 '*' 2
+ 'num_sleeps=32'
+ test 6 -le 7
+ awk -v n=32 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=3.2'
+ 'check_tail_output' '3.2'
+ sleep '3.2'
+ test -s out
+ 'time_fail=1'
+ expr 6 '+' 1
+ attempt=7
+ expr 32 '*' 2
+ 'num_sleeps=64'
+ test 7 -le 7
+ awk -v n=64 -v 's=.1' 'BEGIN { print s * n }'
+ local 'delay=6.4'
+ 'check_tail_output' '6.4'
+ sleep '6.4'
+ test -s out
+ 'time_fail=1'
+ expr 7 '+' 1
+ attempt=8
+ expr 64 '*' 2
+ 'num_sleeps=128'
+ test 8 -le 7
+ test 1 = 0
+ fail=1
+ 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	2016-11-26 01:10:39.000000000 +0000
+++ out	2016-11-26 01:10:39.000000000 +0000
@@ -1 +0,0 @@
-1
+ fail=1
+ kill -0 22364
kill: 22364: No such process
+ fail=1
+ 'cleanup_'
+ kill 22364
+ Exit 1
+ set '+e'
+ exit 1
+ exit 1
+ 'remove_tmp_'
+ '__st=1'
+ 'cleanup_'
+ kill 22364
+ cd '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c'
+ chmod -R 'u+rwx' '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-pipe-f2.sh.jd6G'
+ rm -rf '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-pipe-f2.sh.jd6G'
+ exit 1
FAIL tests/tail-2/pipe-f2.sh (exit status: 1)

FAIL: tests/touch/not-owner
===========================

+ 'initial_cwd_=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c'
+ 'testdir_prefix_'
+ printf gt
+ 'pfx_=gt'
+ 'mktempd_' '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c' 'gt-not-owner.sh.XXXX'
+ 'destdir_=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c'
+ 'template_=gt-not-owner.sh.XXXX'
+ 'MAX_TRIES_=4'
+ 'destdir_slash_=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/'
+ unset TMPDIR
+ 'd=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-not-owner.sh.pnCL'
+ ':'
+ test -d '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-not-owner.sh.pnCL'
+ ls -dgo '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-not-owner.sh.pnCL'
+ 'perms=drwx------ 2 512 Nov 26 01:10 /tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-not-owner.sh.pnCL'
+ ':'
+ echo '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-not-owner.sh.pnCL'
+ return
+ 'test_dir_=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-not-owner.sh.pnCL'
+ cd '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-not-owner.sh.pnCL'
+ '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/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/./src'
+ 'PATH=/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/./src:/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/src:/usr/bin:/bin:/usr/pkg/bin:/sbin:/usr/sbin'
+ 'create_exe_shims_' '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/./src'
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ 'print_ver_' touch
+ 'require_built_' touch
+ 'skip_=no'
+ test no = yes
+ test yes = yes
+ local i
+ env touch --version
touch (GNU coreutils) 8.25.120-ca99c
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, Arnold Robbins, Jim Kingdon,
David MacKenzie, and Randy Smith.
+ env -- test -w /
+ env -- test -O /
+ env -- test -G /
+ 'skip_if_root_'
+ 'uid_is_privileged_'
+ id -u
+ 'my_uid=1000'
+ return 1
+ touch /
+ cat
+ cmp out exp
+ cat
+ cmp out exp
+ cat
+ cmp out exp
+ cat
+ cmp out exp
+ test '' = 1
+ fail=1
+ test 1 = 1
+ 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	2016-11-26 01:10:52.000000000 +0000
+++ out	2016-11-26 01:10:52.000000000 +0000
@@ -1 +1 @@
-touch: setting times of '/': Read-only file system
+touch: cannot touch '/': File exists
+ Exit 1
+ set '+e'
+ exit 1
+ exit 1
+ 'remove_tmp_'
+ '__st=1'
+ 'cleanup_'
+ ':'
+ cd '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c'
+ chmod -R 'u+rwx' '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-not-owner.sh.pnCL'
+ rm -rf '/tmp/coreutils-ss.XXXXXX.dVCMPgmi/coreutils-8.25.120-ca99c/gt-not-owner.sh.pnCL'
+ exit 1
FAIL tests/touch/not-owner.sh (exit status: 1)

