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

# TOTAL: 590
# PASS:  442
# SKIP:  143
# XFAIL: 0
# FAIL:  3
# XPASS: 0
# ERROR: 2

ERROR: tests/misc/ls-time
=========================

++ initial_cwd_=/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b gt-ls-time.sh.XXXX
+++ case $# in
+++ destdir_=/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b
+++ template_=gt-ls-time.sh.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ destdir_slash_=/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/
+++ case $template_ in
++++ unset TMPDIR
+++ d=/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-ls-time.sh.tOtH
+++ case $d in
+++ :
+++ test -d /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-ls-time.sh.tOtH
++++ ls -dgo /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-ls-time.sh.tOtH
+++ perms='drwx------ 2 4096 Nov 28 19:24 /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-ls-time.sh.tOtH'
+++ case $perms in
+++ :
+++ echo /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-ls-time.sh.tOtH
+++ return
++ test_dir_=/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-ls-time.sh.tOtH
++ cd /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-ls-time.sh.tOtH
++ 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.r5Kh7x/coreutils-8.25.133-0655b/./src
+ case $abs_path_dir_ in
+ PATH=/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/./src:/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/src:/usr/local/bin:/usr/bin:/bin:/usr/games:/sbin:/usr/sbin
+ create_exe_shims_ /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/./src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ ls
+ require_built_ ls
+ skip_=no
+ for i in '"$@"'
+ case " $built_programs " in
+ test no = yes
+ test yes = yes
+ local i
+ for i in '$*'
+ env ls --version
ls (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 Richard M. Stallman and David MacKenzie.
+ TZ=UTC0
+ export TZ
+ t1='1998-01-15 21:00'
+ t2='1998-01-15 22:00'
+ t3='1998-01-15 23:00'
+ u1='1998-01-14 11:00'
+ u2='1998-01-14 12:00'
+ u3='1998-01-14 13:00'
+ touch -m -d '1998-01-15 23:00' a
+ touch -m -d '1998-01-15 22:00' b
+ touch -m -d '1998-01-15 21:00' c
+ touch -a -d '1998-01-14 13:00' c
+ touch -a -d '1998-01-14 12:00' b
+ sleep 2
+ touch -a -d '1998-01-14 11:00' a
+ ln a a-ctime
+ rm a-ctime
++ ls -c a c
+ set c a
+ test 'c a' = 'a c'
+ fail=1
+ sleep 2
+ ln c d
++ ls --full -l a
+ set -- -rw-r--r-- 1 miles miles 0 1970-01-01 00:00:00.000000000 +0000 a
+ case "$*" in
+ cat
A basic test of touch -m has just failed, so the subsequent
tests in this file will not be run.

In the output below, the date of last modification for 'a' should
have been 1998-01-15 23:00.
+ ls --full -l a
-rw-r--r-- 1 miles miles 0 1970-01-01 00:00:00.000000000 +0000 a
+ framework_failure_
+ warn_ 'ls-time.sh: set-up failure: '
+ case $IFS in
+ printf '%s\n' 'ls-time.sh: set-up failure: '
ls-time.sh: set-up failure: 
+ test 9 = 2
+ printf '%s\n' 'ls-time.sh: set-up failure: '
+ sed 1q
+ Exit 99
+ set +e
+ exit 99
+ exit 99
+ remove_tmp_
+ __st=99
+ cleanup_
+ :
+ cd /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b
+ chmod -R u+rwx /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-ls-time.sh.tOtH
+ rm -rf /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-ls-time.sh.tOtH
+ exit 99
ERROR tests/misc/ls-time.sh (exit status: 99)

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

++ initial_cwd_=/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b gt-rm-readdir-fail.sh.XXXX
+++ case $# in
+++ destdir_=/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b
+++ template_=gt-rm-readdir-fail.sh.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ destdir_slash_=/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/
+++ case $template_ in
++++ unset TMPDIR
+++ d=/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-rm-readdir-fail.sh.LIFk
+++ case $d in
+++ :
+++ test -d /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-rm-readdir-fail.sh.LIFk
++++ ls -dgo /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-rm-readdir-fail.sh.LIFk
+++ perms='drwx------ 2 4096 Nov 28 19:25 /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-rm-readdir-fail.sh.LIFk'
+++ case $perms in
+++ :
+++ echo /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-rm-readdir-fail.sh.LIFk
+++ return
++ test_dir_=/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-rm-readdir-fail.sh.LIFk
++ cd /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-rm-readdir-fail.sh.LIFk
++ 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.r5Kh7x/coreutils-8.25.133-0655b/./src
+ case $abs_path_dir_ in
+ PATH=/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/./src:/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/src:/usr/local/bin:/usr/bin:/bin:/usr/games:/sbin:/usr/sbin
+ create_exe_shims_ /tmp/coreutils-ss.r5Kh7x/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
k.c: In function 'readdir':
k.c:44:7: warning: implicit declaration of function '_D_EXACT_NAMELEN' [-Wimplicit-function-declaration]
       _D_EXACT_NAMELEN(d)=2;
       ^
k.c:44:26: error: lvalue required as left operand of assignment
       _D_EXACT_NAMELEN(d)=2;
                          ^
+ 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.r5Kh7x/coreutils-8.25.133-0655b
+ chmod -R u+rwx /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-rm-readdir-fail.sh.LIFk
+ rm -rf /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-rm-readdir-fail.sh.LIFk
+ exit 99
ERROR tests/rm/rm-readdir-fail.sh (exit status: 99)

FAIL: tests/misc/kill
=====================

++ initial_cwd_=/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b gt-kill.sh.XXXX
+++ case $# in
+++ destdir_=/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b
+++ template_=gt-kill.sh.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ destdir_slash_=/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/
+++ case $template_ in
++++ unset TMPDIR
+++ d=/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-kill.sh.5wiK
+++ case $d in
+++ :
+++ test -d /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-kill.sh.5wiK
++++ ls -dgo /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-kill.sh.5wiK
+++ perms='drwx------ 2 4096 Nov 28 19:26 /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-kill.sh.5wiK'
+++ case $perms in
+++ :
+++ echo /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-kill.sh.5wiK
+++ return
++ test_dir_=/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-kill.sh.5wiK
++ cd /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-kill.sh.5wiK
++ 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.r5Kh7x/coreutils-8.25.133-0655b/./src
+ case $abs_path_dir_ in
+ PATH=/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/./src:/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/src:/usr/local/bin:/usr/bin:/bin:/usr/games:/sbin:/usr/sbin
+ create_exe_shims_ /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/./src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ kill
+ require_built_ kill
+ skip_=no
+ for i in '"$@"'
+ case " $built_programs " in
+ test no = yes
+ test yes = yes
+ local i
+ for i in '$*'
+ env kill --version
kill (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 Eggert.
+ returns_ 1 env kill
kill: no process ID specified
Try 'kill --help' for more information.
+ returns_ 1 env kill -TERM
kill: no process ID specified
Try 'kill --help' for more information.
+ returns_ 1 env kill -l -l
kill: multiple -l or -t options specified
Try 'kill --help' for more information.
+ returns_ 1 env kill -l -t
kill: multiple -l or -t options specified
Try 'kill --help' for more information.
+ returns_ 1 env kill -l -s 1
kill: cannot combine signal with -l or -t
Try 'kill --help' for more information.
+ returns_ 1 env kill -t -s 1
kill: cannot combine signal with -l or -t
Try 'kill --help' for more information.
+ returns_ 1 env kill -0 no_pid
kill: 'no_pid': invalid process id
+ env kill -0 10751
+ env kill -s0 10751
+ env kill -n0 10751
+ env kill -CONT 10751
+ env kill -Cont 10751
+ returns_ 1 env kill -cont 10751
kill: invalid option -- 'c'
Try 'kill --help' for more information.
+ env kill -0 -1
kill: '-1': No such process
+ fail=1
+ env kill -l
HUP
INT
QUIT
ILL
TRAP
ABRT
EMT
FPE
KILL
BUS
SEGV
SYS
PIPE
ALRM
TERM
URG
STOP
TSTP
CONT
CHLD
TTIN
TTOU
POLL
XCPU
XFSZ
VTALRM
PROF
WINCH
INFO
USR1
USR2
LOST
+ env kill -t
 1 HUP    Hangup
 2 INT    Interrupt
 3 QUIT   Quit
 4 ILL    Illegal instruction
 5 TRAP   Trace/breakpoint trap
 6 ABRT   Aborted
 7 EMT    EMT trap
 8 FPE    Floating point exception
 9 KILL   Killed
10 BUS    Bus error
11 SEGV   Segmentation fault
12 SYS    Bad system call
13 PIPE   Broken pipe
14 ALRM   Alarm clock
15 TERM   Terminated
16 URG    Urgent I/O condition
17 STOP   Stopped (signal)
18 TSTP   Stopped
19 CONT   Continued
20 CHLD   Child exited
21 TTIN   Stopped (tty input)
22 TTOU   Stopped (tty output)
23 POLL   I/O possible
24 XCPU   CPU time limit exceeded
25 XFSZ   File size limit exceeded
26 VTALRM Virtual timer expired
27 PROF   Profiling timer expired
28 WINCH  Window changed
29 INFO   Information request
30 USR1   User defined signal 1
31 USR2   User defined signal 2
32 LOST   Resource lost
+ env kill -L
 1 HUP    Hangup
 2 INT    Interrupt
 3 QUIT   Quit
 4 ILL    Illegal instruction
 5 TRAP   Trace/breakpoint trap
 6 ABRT   Aborted
 7 EMT    EMT trap
 8 FPE    Floating point exception
 9 KILL   Killed
10 BUS    Bus error
11 SEGV   Segmentation fault
12 SYS    Bad system call
13 PIPE   Broken pipe
14 ALRM   Alarm clock
15 TERM   Terminated
16 URG    Urgent I/O condition
17 STOP   Stopped (signal)
18 TSTP   Stopped
19 CONT   Continued
20 CHLD   Child exited
21 TTIN   Stopped (tty input)
22 TTOU   Stopped (tty output)
23 POLL   I/O possible
24 XCPU   CPU time limit exceeded
25 XFSZ   File size limit exceeded
26 VTALRM Virtual timer expired
27 PROF   Profiling timer expired
28 WINCH  Window changed
29 INFO   Information request
30 USR1   User defined signal 1
31 USR2   User defined signal 2
32 LOST   Resource lost
+ env kill -t TERM HUP
15 TERM   Terminated
 1 HUP    Hangup
++ env kill -l HUP TERM
++ tail -n1
+ SIGTERM=15
++ env kill -l 15
+ test TERM = TERM
++ expr 15 + 128
+ STD_TERM_STATUS=143
++ expr 15 + 256
+ KSH_TERM_STATUS=271
++ env kill -l 143 271
++ uniq
+ test TERM = TERM
+ returns_ 1 env kill -l -1
kill: '-1': invalid signal
+ returns_ 1 env kill -l -1 0
kill: '-1': invalid signal
EXIT
+ returns_ 1 env kill -l INVALID TERM
kill: 'INVALID': invalid signal
15
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b
+ chmod -R u+rwx /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-kill.sh.5wiK
+ rm -rf /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-kill.sh.5wiK
+ exit 1
FAIL tests/misc/kill.sh (exit status: 1)

FAIL: tests/misc/nice
=====================

++ initial_cwd_=/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b gt-nice.sh.XXXX
+++ case $# in
+++ destdir_=/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b
+++ template_=gt-nice.sh.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ destdir_slash_=/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/
+++ case $template_ in
++++ unset TMPDIR
+++ d=/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-nice.sh.KygD
+++ case $d in
+++ :
+++ test -d /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-nice.sh.KygD
++++ ls -dgo /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-nice.sh.KygD
+++ perms='drwx------ 2 4096 Nov 28 19:26 /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-nice.sh.KygD'
+++ case $perms in
+++ :
+++ echo /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-nice.sh.KygD
+++ return
++ test_dir_=/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-nice.sh.KygD
++ cd /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-nice.sh.KygD
++ 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.r5Kh7x/coreutils-8.25.133-0655b/./src
+ case $abs_path_dir_ in
+ PATH=/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/./src:/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/src:/usr/local/bin:/usr/bin:/bin:/usr/games:/sbin:/usr/sbin
+ create_exe_shims_ /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/./src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ nice
+ require_built_ nice
+ skip_=no
+ for i in '"$@"'
+ case " $built_programs " in
+ test no = yes
+ test yes = yes
+ local i
+ for i in '$*'
+ env nice --version
nice (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 David MacKenzie.
+ tests='
0 empty 10
1 -1 1
2 -12 12
3 -1:-2 2
4 -n:1 1
5 -n:1:-2 2
6 -n:1:-+12 12
7 -2:-n:1 1
8 -2:-n:12 12
9 -+1 1
10 -+12 12
11 -+1:-+12 12
12 -n:+1 1
13 --1:-2 2
14 --1:-2:-13 13
15 --1:-n:2 2
16 --1:-n:2:-3 3
17 --1:-n:2:-13 13
18 -n:-1:-12 12
19 --1:-12 12
NA LAST NA
'
+ set 0 empty 10 1 -1 1 2 -12 12 3 -1:-2 2 4 -n:1 1 5 -n:1:-2 2 6 -n:1:-+12 12 7 -2:-n:1 1 8 -2:-n:12 12 9 -+1 1 10 -+12 12 11 -+1:-+12 12 12 -n:+1 1 13 --1:-2 2 14 --1:-2:-13 13 15 --1:-n:2 2 16 --1:-n:2:-3 3 17 --1:-n:2:-13 13 18 -n:-1:-12 12 19 --1:-12 12 NA LAST NA
++ nice
+ niceness=0
+ test 0 = 0
+ : ok
+ :
+ test_name=0
+ args=empty
+ expected_result=10
+ test empty = empty
+ args=
+ test x = xLAST
++ echo x
++ tr : ' '
++ sed 's/^x//'
+ args=
+ test yes = yes
+ echo 'test 0... '
+ tr -d '\n'
test 0... ++ nice nice
+ test x10 = x10
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=1
+ args=-1
+ expected_result=1
+ test -1 = empty
+ test x-1 = xLAST
++ echo x-1
++ tr : ' '
++ sed 's/^x//'
+ args=-1
+ test yes = yes
+ echo 'test 1... '
+ tr -d '\n'
test 1... ++ nice -1 nice
+ test x1 = x1
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=2
+ args=-12
+ expected_result=12
+ test -12 = empty
+ test x-12 = xLAST
++ echo x-12
++ tr : ' '
++ sed 's/^x//'
+ args=-12
+ test yes = yes
+ echo 'test 2... '
+ tr -d '\n'
test 2... ++ nice -12 nice
+ test x12 = x12
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=3
+ args=-1:-2
+ expected_result=2
+ test -1:-2 = empty
+ test x-1:-2 = xLAST
++ echo x-1:-2
++ tr : ' '
++ sed 's/^x//'
+ args='-1 -2'
+ test yes = yes
+ echo 'test 3... '
+ tr -d '\n'
test 3... ++ nice -1 -2 nice
+ test x2 = x2
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=4
+ args=-n:1
+ expected_result=1
+ test -n:1 = empty
+ test x-n:1 = xLAST
++ echo x-n:1
++ tr : ' '
++ sed 's/^x//'
+ args='-n 1'
+ test yes = yes
+ echo 'test 4... '
+ tr -d '\n'
test 4... ++ nice -n 1 nice
+ test x1 = x1
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=5
+ args=-n:1:-2
+ expected_result=2
+ test -n:1:-2 = empty
+ test x-n:1:-2 = xLAST
++ echo x-n:1:-2
++ tr : ' '
++ sed 's/^x//'
+ args='-n 1 -2'
+ test yes = yes
+ echo 'test 5... '
+ tr -d '\n'
test 5... ++ nice -n 1 -2 nice
+ test x2 = x2
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=6
+ args=-n:1:-+12
+ expected_result=12
+ test -n:1:-+12 = empty
+ test x-n:1:-+12 = xLAST
++ echo x-n:1:-+12
++ tr : ' '
++ sed 's/^x//'
+ args='-n 1 -+12'
+ test yes = yes
+ echo 'test 6... '
+ tr -d '\n'
test 6... ++ nice -n 1 -+12 nice
+ test x12 = x12
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=7
+ args=-2:-n:1
+ expected_result=1
+ test -2:-n:1 = empty
+ test x-2:-n:1 = xLAST
++ echo x-2:-n:1
++ tr : ' '
++ sed 's/^x//'
+ args='-2 -n 1'
+ test yes = yes
+ echo 'test 7... '
+ tr -d '\n'
test 7... ++ nice -2 -n 1 nice
+ test x1 = x1
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=8
+ args=-2:-n:12
+ expected_result=12
+ test -2:-n:12 = empty
+ test x-2:-n:12 = xLAST
++ echo x-2:-n:12
++ tr : ' '
++ sed 's/^x//'
+ args='-2 -n 12'
+ test yes = yes
+ echo 'test 8... '
+ tr -d '\n'
test 8... ++ nice -2 -n 12 nice
+ test x12 = x12
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=9
+ args=-+1
+ expected_result=1
+ test -+1 = empty
+ test x-+1 = xLAST
++ echo x-+1
++ tr : ' '
++ sed 's/^x//'
+ args=-+1
+ test yes = yes
+ echo 'test 9... '
+ tr -d '\n'
test 9... ++ nice -+1 nice
+ test x1 = x1
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=10
+ args=-+12
+ expected_result=12
+ test -+12 = empty
+ test x-+12 = xLAST
++ echo x-+12
++ tr : ' '
++ sed 's/^x//'
+ args=-+12
+ test yes = yes
+ echo 'test 10... '
+ tr -d '\n'
test 10... ++ nice -+12 nice
+ test x12 = x12
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=11
+ args=-+1:-+12
+ expected_result=12
+ test -+1:-+12 = empty
+ test x-+1:-+12 = xLAST
++ echo x-+1:-+12
++ tr : ' '
++ sed 's/^x//'
+ args='-+1 -+12'
+ test yes = yes
+ echo 'test 11... '
+ tr -d '\n'
test 11... ++ nice -+1 -+12 nice
+ test x12 = x12
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=12
+ args=-n:+1
+ expected_result=1
+ test -n:+1 = empty
+ test x-n:+1 = xLAST
++ echo x-n:+1
++ tr : ' '
++ sed 's/^x//'
+ args='-n +1'
+ test yes = yes
+ echo 'test 12... '
+ tr -d '\n'
test 12... ++ nice -n +1 nice
+ test x1 = x1
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=13
+ args=--1:-2
+ expected_result=2
+ test --1:-2 = empty
+ test x--1:-2 = xLAST
++ echo x--1:-2
++ tr : ' '
++ sed 's/^x//'
+ args='--1 -2'
+ test yes = yes
+ echo 'test 13... '
+ tr -d '\n'
test 13... ++ nice --1 -2 nice
+ test x2 = x2
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=14
+ args=--1:-2:-13
+ expected_result=13
+ test --1:-2:-13 = empty
+ test x--1:-2:-13 = xLAST
++ echo x--1:-2:-13
++ tr : ' '
++ sed 's/^x//'
+ args='--1 -2 -13'
+ test yes = yes
+ echo 'test 14... '
+ tr -d '\n'
test 14... ++ nice --1 -2 -13 nice
+ test x13 = x13
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=15
+ args=--1:-n:2
+ expected_result=2
+ test --1:-n:2 = empty
+ test x--1:-n:2 = xLAST
++ echo x--1:-n:2
++ tr : ' '
++ sed 's/^x//'
+ args='--1 -n 2'
+ test yes = yes
+ echo 'test 15... '
+ tr -d '\n'
test 15... ++ nice --1 -n 2 nice
+ test x2 = x2
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=16
+ args=--1:-n:2:-3
+ expected_result=3
+ test --1:-n:2:-3 = empty
+ test x--1:-n:2:-3 = xLAST
++ echo x--1:-n:2:-3
++ tr : ' '
++ sed 's/^x//'
+ args='--1 -n 2 -3'
+ test yes = yes
+ echo 'test 16... '
+ tr -d '\n'
test 16... ++ nice --1 -n 2 -3 nice
+ test x3 = x3
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=17
+ args=--1:-n:2:-13
+ expected_result=13
+ test --1:-n:2:-13 = empty
+ test x--1:-n:2:-13 = xLAST
++ echo x--1:-n:2:-13
++ tr : ' '
++ sed 's/^x//'
+ args='--1 -n 2 -13'
+ test yes = yes
+ echo 'test 17... '
+ tr -d '\n'
test 17... ++ nice --1 -n 2 -13 nice
+ test x13 = x13
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=18
+ args=-n:-1:-12
+ expected_result=12
+ test -n:-1:-12 = empty
+ test x-n:-1:-12 = xLAST
++ echo x-n:-1:-12
++ tr : ' '
++ sed 's/^x//'
+ args='-n -1 -12'
+ test yes = yes
+ echo 'test 18... '
+ tr -d '\n'
test 18... ++ nice -n -1 -12 nice
+ test x12 = x12
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=19
+ args=--1:-12
+ expected_result=12
+ test --1:-12 = empty
+ test x--1:-12 = xLAST
++ echo x--1:-12
++ tr : ' '
++ sed 's/^x//'
+ args='--1 -12'
+ test yes = yes
+ echo 'test 19... '
+ tr -d '\n'
test 19... ++ nice --1 -12 nice
+ test x12 = x12
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=NA
+ args=LAST
+ expected_result=NA
+ test LAST = empty
+ test xLAST = xLAST
+ break
++ nice -n -1 nice
+ test x-1 = x0
+ nice -n -1 nice
-1
+ compare /dev/null err
+ compare_dev_null_ /dev/null err
+ test 2 = 2
+ test x/dev/null = x/dev/null
+ test -s err
+ emit_diff_u_header_ /dev/null err
+ printf '%s\n' 'diff -u /dev/null err' '--- /dev/null	1970-01-01' '+++ err	1970-01-01'
diff -u /dev/null err
--- /dev/null	1970-01-01
+++ err	1970-01-01
+ sed 's/^/+/' err
+nice: cannot set niceness: Permission denied
+ return 1
+ case $? in
+ return 1
+ fail=1
++ nice -n -1 nice
nice: cannot set niceness: Permission denied
+ test x-1 = x-1
++ nice --1 nice
nice: cannot set niceness: Permission denied
+ test x-1 = x-1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b
+ chmod -R u+rwx /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-nice.sh.KygD
+ rm -rf /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-nice.sh.KygD
+ exit 1
FAIL tests/misc/nice.sh (exit status: 1)

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

++ initial_cwd_=/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b gt-parent-perm-race.sh.XXXX
+++ case $# in
+++ destdir_=/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b
+++ template_=gt-parent-perm-race.sh.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ destdir_slash_=/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/
+++ case $template_ in
++++ unset TMPDIR
+++ d=/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-parent-perm-race.sh.hRUl
+++ case $d in
+++ :
+++ test -d /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-parent-perm-race.sh.hRUl
++++ ls -dgo /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-parent-perm-race.sh.hRUl
+++ perms='drwx------ 2 4096 Nov 28 19:27 /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-parent-perm-race.sh.hRUl'
+++ case $perms in
+++ :
+++ echo /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-parent-perm-race.sh.hRUl
+++ return
++ test_dir_=/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-parent-perm-race.sh.hRUl
++ cd /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-parent-perm-race.sh.hRUl
++ 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.r5Kh7x/coreutils-8.25.133-0655b/./src
+ case $abs_path_dir_ in
+ PATH=/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/./src:/tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/src:/usr/local/bin:/usr/bin:/bin:/usr/games:/sbin:/usr/sbin
+ create_exe_shims_ /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/./src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ cp
+ require_built_ cp
+ skip_=no
+ for i in '"$@"'
+ case " $built_programs " in
+ test no = yes
+ test yes = yes
+ local i
+ for i in '$*'
+ env cp --version
cp (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 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=
+ for attr in mode ownership
+ mkfifo_or_skip_ mode/fifo
+ test 1 = 1
+ mkfifo mode/fifo
+ pid=4731
+ timeout 10 sh -c 'ls -ld d/mode >mode/fifo'
+ timeout 10 cp --preserve=mode -R --copy-contents --parents mode d
cp: cannot open 'mode/fifo' for reading: Permission denied
+ fail=1
+ wait 4731
+ fail=1
++ cat d/mode/fifo
cat: d/mode/fifo: No such file or directory
+ ls_output=
+ fail=1
+ case $attr,$ls_output in
+ fail=1
+ for attr in mode ownership
+ mkfifo_or_skip_ ownership/fifo
+ test 1 = 1
+ mkfifo ownership/fifo
+ pid=4738
+ timeout 10 sh -c 'ls -ld d/ownership >ownership/fifo'
+ timeout 10 cp --preserve=ownership -R --copy-contents --parents ownership d
cp: cannot open 'ownership/fifo' for reading: Permission denied
+ fail=1
+ wait 4738
+ fail=1
++ cat d/ownership/fifo
cat: d/ownership/fifo: No such file or directory
+ ls_output=
+ fail=1
+ case $attr,$ls_output in
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ kill 4738
+ cd /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b
+ chmod -R u+rwx /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-parent-perm-race.sh.hRUl
+ rm -rf /tmp/coreutils-ss.r5Kh7x/coreutils-8.25.133-0655b/gt-parent-perm-race.sh.hRUl
+ exit 1
FAIL tests/cp/parent-perm-race.sh (exit status: 1)

