Hello Pádraig,
On 01/13/2016 08:20 AM, Pádraig Brady wrote:
You can download the coreutils snapshot in xz format (5.4 MB) from:
http://pixelbeat.org/cu/coreutils-ss.tar.xz
Few minor issues below, I'll have results on more systems a bit later.
On OpenBSD 5.8:
====
FAIL: tests/misc/sort-debug-warn
================================
using SHELL=/bin/sh with 'set -x' corrupts stderr
sort (GNU coreutils) 8.24.150-4ab87
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 Mike Haertel and Paul Eggert.
--- exp Wed Jan 13 11:52:35 2016
+++ out Wed Jan 13 11:52:35 2016
@@ -29,4 +29,4 @@
sort: using simple byte comparison
sort: using simple byte comparison
sort: using simple byte comparison
-sort: failed to set locale; using simple byte comparison
+sort: using simple byte comparison
FAIL tests/misc/sort-debug-warn.sh (exit status: 1)
====
On Ubuntu 86-x64 with TCC (Tiny-C-Compiler), compilation fails due to TCC bugs with
"#include_next":
===
lib/getfilecon.c:36: error: invalid type
make[2]: *** [lib/getfilecon.o] Error 1
make[2]: Leaving directory
`/tmp/coreutils-ss.AG9Jpt/coreutils-8.24.150-4ab87'
===
Not sure if this is something that can be easily fixed in coreutils/gnulib - so
just mentioned here to keep a record.
Discussed here on tinycc-devel:
http://lists.nongnu.org/archive/html/tinycc-devel/2015-12/msg00018.html
http://lists.nongnu.org/archive/html/tinycc-devel/2015-09/msg00010.html
On FreeBSD 10.1, two tests fail, logs attached:
===
FAIL: tests/misc/date
previously discussed here:
http://lists.gnu.org/archive/html/coreutils/2014-07/msg00116.html
FAIL: tests/misc/head-c
fails with segfault, might be due to very limited memory (the VM has 384MB).
FAIL: tests/misc/kill
perhaps due to the removal of 'kill' and mixup with the built-in kill?
====
On OpenSUSE 42.1 (LEAP), two tests fail, logs attached (did not investigate
further):
===
FAIL: tests/df/df-symlink
FAIL: tests/mv/dup-source
===
On CentOS 6.5, one error (not a a failure), log attached
===
ERROR: tests/cp/fiemap-extents
perhaps related to this:
+ fallocate -l 4MiB -n unwritten.withdata
fallocate: invalid length value specified
===
FAIL: tests/misc/head-c
=======================
+ initial_cwd_=/tmp/coreutils-ss.XXXXXX.XgBdU2Ok/coreutils-8.24.150-4ab87
+ fail=0
+ testdir_prefix_
+ printf gt
+ pfx_=gt
+ mktempd_ /tmp/coreutils-ss.XXXXXX.XgBdU2Ok/coreutils-8.24.150-4ab87 gt-head-c.sh.XXXX
+ destdir_=/tmp/coreutils-ss.XXXXXX.XgBdU2Ok/coreutils-8.24.150-4ab87
+ template_=gt-head-c.sh.XXXX
+ MAX_TRIES_=4
+ unset TMPDIR
+ d=/tmp/coreutils-ss.XXXXXX.XgBdU2Ok/coreutils-8.24.150-4ab87/gt-head-c.sh.eWud
+ test -d /tmp/coreutils-ss.XXXXXX.XgBdU2Ok/coreutils-8.24.150-4ab87/gt-head-c.sh.eWud
+ ls -dgo /tmp/coreutils-ss.XXXXXX.XgBdU2Ok/coreutils-8.24.150-4ab87/gt-head-c.sh.eWud
+ tr S -
+ perms='drwx------ 2 512 Jan 13 12:04 /tmp/coreutils-ss.XXXXXX.XgBdU2Ok/coreutils-8.24.150-4ab87/gt-head-c.sh.eWud'
+ test 0 = 0
+ echo /tmp/coreutils-ss.XXXXXX.XgBdU2Ok/coreutils-8.24.150-4ab87/gt-head-c.sh.eWud
+ return
+ test_dir_=/tmp/coreutils-ss.XXXXXX.XgBdU2Ok/coreutils-8.24.150-4ab87/gt-head-c.sh.eWud
+ cd /tmp/coreutils-ss.XXXXXX.XgBdU2Ok/coreutils-8.24.150-4ab87/gt-head-c.sh.eWud
+ 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.XgBdU2Ok/coreutils-8.24.150-4ab87/./src
+ PATH=/tmp/coreutils-ss.XXXXXX.XgBdU2Ok/coreutils-8.24.150-4ab87/./src:/tmp/coreutils-ss.XXXXXX.XgBdU2Ok/coreutils-8.24.150-4ab87/src:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin
+ create_exe_shims_ /tmp/coreutils-ss.XXXXXX.XgBdU2Ok/coreutils-8.24.150-4ab87/./src
+ return 0
+ shift
+ test 0 != 0
+ export PATH
+ print_ver_ head
+ require_built_ head
+ skip_=no
+ test no = yes
+ test yes = yes
+ local i
+ env head --version
head (GNU coreutils) 8.24.150-4ab87
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 and Jim Meyering.
+ getlimits_
+ getlimits
+ eval CHAR_MAX=127 CHAR_OFLOW=128 CHAR_MIN=-128 CHAR_UFLOW=-129 SCHAR_MAX=127 SCHAR_OFLOW=128 SCHAR_MIN=-128 SCHAR_UFLOW=-129 UCHAR_MAX=255 UCHAR_OFLOW=256 SHRT_MAX=32767 SHRT_OFLOW=32768 SHRT_MIN=-32768 SHRT_UFLOW=-32769 INT_MAX=2147483647 INT_OFLOW=2147483648 INT_MIN=-2147483648 INT_UFLOW=-2147483649 UINT_MAX=4294967295 UINT_OFLOW=4294967296 LONG_MAX=9223372036854775807 LONG_OFLOW=9223372036854775808 LONG_MIN=-9223372036854775808 LONG_UFLOW=-9223372036854775809 ULONG_MAX=18446744073709551615 ULONG_OFLOW=18446744073709551616 SIZE_MAX=18446744073709551615 SIZE_OFLOW=18446744073709551616 SSIZE_MAX=9223372036854775807 SSIZE_OFLOW=9223372036854775808 SSIZE_MIN=-9223372036854775808 SSIZE_UFLOW=-9223372036854775809 TIME_T_MAX=9223372036854775807 TIME_T_OFLOW=9223372036854775808 TIME_T_MIN=-9223372036854775808 TIME_T_UFLOW=-9223372036854775809 UID_T_MAX=4294967295 UID_T_OFLOW=4294967296 GID_T_MAX=4294967295 GID_T_OFLOW=4294967296 PID_T_MAX=2147483647 PID_T_OFLOW=2147483648 PID_T_MIN=-2147483648 PID_T_UFLOW=-2147483649 OFF_T_MAX=9223372036854775807 OFF_T_OFLOW=9223372036854775808 OFF_T_MIN=-9223372036854775808 OFF_T_UFLOW=-9223372036854775809 INTMAX_MAX=9223372036854775807 INTMAX_OFLOW=9223372036854775808 INTMAX_MIN=-9223372036854775808 INTMAX_UFLOW=-9223372036854775809 UINTMAX_MAX=18446744073709551615 UINTMAX_OFLOW=18446744073709551616 FLT_MIN=1.1754944e-38 FLT_MAX=3.4028235e+38 DBL_MIN=2.2250738585072014e-308 DBL_MAX=1.7976931348623157e+308 LDBL_MIN=3.3621031431120935063e-4932 LDBL_MAX=1.189731495357231765e+4932
+ CHAR_MAX=127 CHAR_OFLOW=128 CHAR_MIN=-128 CHAR_UFLOW=-129 SCHAR_MAX=127 SCHAR_OFLOW=128 SCHAR_MIN=-128 SCHAR_UFLOW=-129 UCHAR_MAX=255 UCHAR_OFLOW=256 SHRT_MAX=32767 SHRT_OFLOW=32768 SHRT_MIN=-32768 SHRT_UFLOW=-32769 INT_MAX=2147483647 INT_OFLOW=2147483648 INT_MIN=-2147483648 INT_UFLOW=-2147483649 UINT_MAX=4294967295 UINT_OFLOW=4294967296 LONG_MAX=9223372036854775807 LONG_OFLOW=9223372036854775808 LONG_MIN=-9223372036854775808 LONG_UFLOW=-9223372036854775809 ULONG_MAX=18446744073709551615 ULONG_OFLOW=18446744073709551616 SIZE_MAX=18446744073709551615 SIZE_OFLOW=18446744073709551616 SSIZE_MAX=9223372036854775807 SSIZE_OFLOW=9223372036854775808 SSIZE_MIN=-9223372036854775808 SSIZE_UFLOW=-9223372036854775809 TIME_T_MAX=9223372036854775807 TIME_T_OFLOW=9223372036854775808 TIME_T_MIN=-9223372036854775808 TIME_T_UFLOW=-9223372036854775809 UID_T_MAX=4294967295 UID_T_OFLOW=4294967296 GID_T_MAX=4294967295 GID_T_OFLOW=4294967296 PID_T_MAX=2147483647 PID_T_OFLOW=2147483648 PID_T_MIN=-2147483648 PID_T_UFLOW=-2147483649 OFF_T_MAX=9223372036854775807 OFF_T_OFLOW=9223372036854775808 OFF_T_MIN=-9223372036854775808 OFF_T_UFLOW=-9223372036854775809 INTMAX_MAX=9223372036854775807 INTMAX_OFLOW=9223372036854775808 INTMAX_MIN=-9223372036854775808 INTMAX_UFLOW=-9223372036854775809 UINTMAX_MAX=18446744073709551615 UINTMAX_OFLOW=18446744073709551616 FLT_MIN=1.1754944e-38 FLT_MAX=3.4028235e+38 DBL_MIN=2.2250738585072014e-308 DBL_MAX=1.7976931348623157e+308 LDBL_MIN=3.3621031431120935063e-4932 LDBL_MAX=1.189731495357231765e+4932
+ test 2147483647
+ get_min_ulimit_v_ head -c1 /dev/null
+ local v
+ local page_size
+ getconf PAGESIZE
+ page_size=4096
+ page_size=4
+ seq 5000 5000 50000
+ ulimit -v 5000
+ head -c1 /dev/null
/lib/libc.so.7: mmap of entire address space failed: Cannot allocate memory
+ ulimit -v 10000
+ head -c1 /dev/null
Segmentation fault (core dumped)
+ ulimit -v 15000
+ head -c1 /dev/null
+ local prev_v
+ prev_v=15000
+ seq 14000 -1000 1000
+ ulimit -v 14000
+ head -c1 /dev/null
+ prev_v=14000
+ ulimit -v 13000
+ head -c1 /dev/null
+ prev_v=13000
+ ulimit -v 12000
+ head -c1 /dev/null
Segmentation fault (core dumped)
+ ret_v=13004
+ echo 13004
+ return 0
+ vm=13004
+ echo abc
+ head -c1
+ head -c1
+ cat out
+ printf 'abc\ndef\n'
+ dd bs=1 skip=1 count=0 status=none
+ head -c-4
+ cat out1
+ ulimit -v 14004
+ head --bytes=-9223372036854775807
head: memory exhausted
+ fail=1
+ test -r /proc/version
+ test -r /sys/kernel/profiling
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /tmp/coreutils-ss.XXXXXX.XgBdU2Ok/coreutils-8.24.150-4ab87
+ chmod -R u+rwx /tmp/coreutils-ss.XXXXXX.XgBdU2Ok/coreutils-8.24.150-4ab87/gt-head-c.sh.eWud
+ rm -rf /tmp/coreutils-ss.XXXXXX.XgBdU2Ok/coreutils-8.24.150-4ab87/gt-head-c.sh.eWud
+ exit 1
FAIL tests/misc/head-c.sh (exit status: 1)
FAIL: tests/misc/kill
=====================
+ initial_cwd_=/tmp/coreutils-ss.XXXXXX.XgBdU2Ok/coreutils-8.24.150-4ab87
+ fail=0
+ testdir_prefix_
+ printf gt
+ pfx_=gt
+ mktempd_ /tmp/coreutils-ss.XXXXXX.XgBdU2Ok/coreutils-8.24.150-4ab87 gt-kill.sh.XXXX
+ destdir_=/tmp/coreutils-ss.XXXXXX.XgBdU2Ok/coreutils-8.24.150-4ab87
+ template_=gt-kill.sh.XXXX
+ MAX_TRIES_=4
+ unset TMPDIR
+ d=/tmp/coreutils-ss.XXXXXX.XgBdU2Ok/coreutils-8.24.150-4ab87/gt-kill.sh.ljB8
+ test -d /tmp/coreutils-ss.XXXXXX.XgBdU2Ok/coreutils-8.24.150-4ab87/gt-kill.sh.ljB8
+ ls -dgo /tmp/coreutils-ss.XXXXXX.XgBdU2Ok/coreutils-8.24.150-4ab87/gt-kill.sh.ljB8
+ tr S -
+ perms='drwx------ 2 512 Jan 13 12:04 /tmp/coreutils-ss.XXXXXX.XgBdU2Ok/coreutils-8.24.150-4ab87/gt-kill.sh.ljB8'
+ test 0 = 0
+ echo /tmp/coreutils-ss.XXXXXX.XgBdU2Ok/coreutils-8.24.150-4ab87/gt-kill.sh.ljB8
+ return
+ test_dir_=/tmp/coreutils-ss.XXXXXX.XgBdU2Ok/coreutils-8.24.150-4ab87/gt-kill.sh.ljB8
+ cd /tmp/coreutils-ss.XXXXXX.XgBdU2Ok/coreutils-8.24.150-4ab87/gt-kill.sh.ljB8
+ 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.XgBdU2Ok/coreutils-8.24.150-4ab87/./src
+ PATH=/tmp/coreutils-ss.XXXXXX.XgBdU2Ok/coreutils-8.24.150-4ab87/./src:/tmp/coreutils-ss.XXXXXX.XgBdU2Ok/coreutils-8.24.150-4ab87/src:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin
+ create_exe_shims_ /tmp/coreutils-ss.XXXXXX.XgBdU2Ok/coreutils-8.24.150-4ab87/./src
+ return 0
+ shift
+ test 0 != 0
+ export PATH
+ print_ver_ kill
+ require_built_ kill
+ skip_=no
+ test no = yes
+ test yes = yes
+ local i
+ env kill --version
kill (GNU coreutils) 8.24.150-4ab87
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 31142
+ env kill -s0 31142
+ env kill -n0 31142
+ env kill -CONT 31142
+ env kill -Cont 31142
+ returns_ 1 env kill -cont 31142
kill: invalid option -- 'c'
Try 'kill --help' for more information.
+ env kill -0 -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
IO
XCPU
XFSZ
VTALRM
PROF
WINCH
INFO
USR1
USR2
+ env kill -t
1 HUP Hangup
2 INT Interrupt
3 QUIT Quit
4 ILL Illegal instruction
5 TRAP Trace/BPT trap
6 ABRT Abort trap
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 Suspended (signal)
18 TSTP Suspended
19 CONT Continued
20 CHLD Child exited
21 TTIN Stopped (tty input)
22 TTOU Stopped (tty output)
23 IO I/O possible
24 XCPU Cputime limit exceeded
25 XFSZ Filesize limit exceeded
26 VTALRM Virtual timer expired
27 PROF Profiling timer expired
28 WINCH Window size changes
29 INFO Information request
30 USR1 User defined signal 1
31 USR2 User defined signal 2
+ env kill -L
1 HUP Hangup
2 INT Interrupt
3 QUIT Quit
4 ILL Illegal instruction
5 TRAP Trace/BPT trap
6 ABRT Abort trap
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 Suspended (signal)
18 TSTP Suspended
19 CONT Continued
20 CHLD Child exited
21 TTIN Stopped (tty input)
22 TTOU Stopped (tty output)
23 IO I/O possible
24 XCPU Cputime limit exceeded
25 XFSZ Filesize limit exceeded
26 VTALRM Virtual timer expired
27 PROF Profiling timer expired
28 WINCH Window size changes
29 INFO Information request
30 USR1 User defined signal 1
31 USR2 User defined signal 2
+ 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
+ env kill -t
+ tail -n1
+ cut -f1 '-d '
+ SIGINVAL=31
+ expr 31 + 1
+ SIGINVAL=32
+ returns_ 1 env kill -l 32 0
LWP
EXIT
+ fail=1
+ 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.XXXXXX.XgBdU2Ok/coreutils-8.24.150-4ab87
+ chmod -R u+rwx /tmp/coreutils-ss.XXXXXX.XgBdU2Ok/coreutils-8.24.150-4ab87/gt-kill.sh.ljB8
+ rm -rf /tmp/coreutils-ss.XXXXXX.XgBdU2Ok/coreutils-8.24.150-4ab87/gt-kill.sh.ljB8
+ exit 1
FAIL tests/misc/kill.sh (exit status: 1)
FAIL: tests/df/df-symlink
=========================
++ initial_cwd_=/tmp/coreutils-ss.m4BvOR/coreutils-8.24.150-4ab87
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /tmp/coreutils-ss.m4BvOR/coreutils-8.24.150-4ab87 gt-df-symlink.sh.XXXX
+++ case $# in
+++ destdir_=/tmp/coreutils-ss.m4BvOR/coreutils-8.24.150-4ab87
+++ template_=gt-df-symlink.sh.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ case $template_ in
++++ unset TMPDIR
+++ d=/tmp/coreutils-ss.m4BvOR/coreutils-8.24.150-4ab87/gt-df-symlink.sh.u4PH
+++ case $d in
+++ test -d /tmp/coreutils-ss.m4BvOR/coreutils-8.24.150-4ab87/gt-df-symlink.sh.u4PH
++++ tr S -
++++ ls -dgo /tmp/coreutils-ss.m4BvOR/coreutils-8.24.150-4ab87/gt-df-symlink.sh.u4PH
+++ perms='drwx------ 1 0 Jan 13 12:07 /tmp/coreutils-ss.m4BvOR/coreutils-8.24.150-4ab87/gt-df-symlink.sh.u4PH'
+++ case $perms in
+++ test 0 = 0
+++ echo /tmp/coreutils-ss.m4BvOR/coreutils-8.24.150-4ab87/gt-df-symlink.sh.u4PH
+++ return
++ test_dir_=/tmp/coreutils-ss.m4BvOR/coreutils-8.24.150-4ab87/gt-df-symlink.sh.u4PH
++ cd /tmp/coreutils-ss.m4BvOR/coreutils-8.24.150-4ab87/gt-df-symlink.sh.u4PH
++ 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.m4BvOR/coreutils-8.24.150-4ab87/./src
+ case $abs_path_dir_ in
+ PATH=/tmp/coreutils-ss.m4BvOR/coreutils-8.24.150-4ab87/./src:/tmp/coreutils-ss.m4BvOR/coreutils-8.24.150-4ab87/src:/home/miles/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/sbin:/usr/sbin
+ create_exe_shims_ /tmp/coreutils-ss.m4BvOR/coreutils-8.24.150-4ab87/./src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ df
+ require_built_ df
+ skip_=no
+ for i in '"$@"'
+ case " $built_programs " in
+ test no = yes
+ test yes = yes
+ local i
+ for i in '$*'
+ env df --version
df (GNU coreutils) 8.24.150-4ab87
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 Paul Eggert.
++ tail -n1
++ df --out=source .
+ disk=/dev/vda2
+ ln -s /dev/vda2 symlink
+ df --out=source,target /dev/vda2
+ df --out=source,target symlink
+ compare exp out
+ compare_dev_null_ exp out
+ test 2 = 2
+ test xexp = x/dev/null
+ test xout = x/dev/null
+ return 2
+ case $? in
+ compare_ exp out
+ diff -u exp out
+ df --out=source,target .
+ compare exp out
+ compare_dev_null_ exp out
+ test 2 = 2
+ test xexp = x/dev/null
+ test xout = x/dev/null
+ return 2
+ case $? in
+ compare_ exp out
+ diff -u exp out
--- exp 2016-01-13 12:07:31.789282664 -0500
+++ out 2016-01-13 12:07:31.793282621 -0500
@@ -1,2 +1,2 @@
Filesystem Mounted on
-/dev/vda2 /
+/dev/vda2 /tmp
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /tmp/coreutils-ss.m4BvOR/coreutils-8.24.150-4ab87
+ chmod -R u+rwx /tmp/coreutils-ss.m4BvOR/coreutils-8.24.150-4ab87/gt-df-symlink.sh.u4PH
+ rm -rf /tmp/coreutils-ss.m4BvOR/coreutils-8.24.150-4ab87/gt-df-symlink.sh.u4PH
+ exit 1
FAIL tests/df/df-symlink.sh (exit status: 1)
FAIL: tests/mv/dup-source
=========================
++ initial_cwd_=/tmp/coreutils-ss.m4BvOR/coreutils-8.24.150-4ab87
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /tmp/coreutils-ss.m4BvOR/coreutils-8.24.150-4ab87 gt-dup-source.sh.XXXX
+++ case $# in
+++ destdir_=/tmp/coreutils-ss.m4BvOR/coreutils-8.24.150-4ab87
+++ template_=gt-dup-source.sh.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ case $template_ in
++++ unset TMPDIR
+++ d=/tmp/coreutils-ss.m4BvOR/coreutils-8.24.150-4ab87/gt-dup-source.sh.OVvi
+++ case $d in
+++ test -d /tmp/coreutils-ss.m4BvOR/coreutils-8.24.150-4ab87/gt-dup-source.sh.OVvi
++++ tr S -
++++ ls -dgo /tmp/coreutils-ss.m4BvOR/coreutils-8.24.150-4ab87/gt-dup-source.sh.OVvi
+++ perms='drwx------ 1 0 Jan 13 12:07 /tmp/coreutils-ss.m4BvOR/coreutils-8.24.150-4ab87/gt-dup-source.sh.OVvi'
+++ case $perms in
+++ test 0 = 0
+++ echo /tmp/coreutils-ss.m4BvOR/coreutils-8.24.150-4ab87/gt-dup-source.sh.OVvi
+++ return
++ test_dir_=/tmp/coreutils-ss.m4BvOR/coreutils-8.24.150-4ab87/gt-dup-source.sh.OVvi
++ cd /tmp/coreutils-ss.m4BvOR/coreutils-8.24.150-4ab87/gt-dup-source.sh.OVvi
++ 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.m4BvOR/coreutils-8.24.150-4ab87/./src
+ case $abs_path_dir_ in
+ PATH=/tmp/coreutils-ss.m4BvOR/coreutils-8.24.150-4ab87/./src:/tmp/coreutils-ss.m4BvOR/coreutils-8.24.150-4ab87/src:/home/miles/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/sbin:/usr/sbin
+ create_exe_shims_ /tmp/coreutils-ss.m4BvOR/coreutils-8.24.150-4ab87/./src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ cp mv
+ require_built_ cp mv
+ skip_=no
+ for i in '"$@"'
+ case " $built_programs " in
+ 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.24.150-4ab87
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.
+ for i in '$*'
+ env mv --version
mv (GNU coreutils) 8.24.150-4ab87
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 Mike Parker, David MacKenzie, and Jim Meyering.
+ skip_if_root_
+ uid_is_privileged_
++ id -u
+ my_uid=1000
+ case $my_uid in
+ return 1
+ for i in cp
+ reset_files
+ rm -fr a b d
+ touch a
+ mkdir b d
+ cp a a d/
+ reset_files
+ rm -fr a b d
+ touch a
+ mkdir b d
+ cp ./a a d/
+ reset_files
+ rm -fr a b d
+ touch a
+ mkdir b d
+ cp -a ./b b d/
+ reset_files
+ rm -fr a b d
+ touch a
+ mkdir b d
+ returns_ 1 cp -a ./b b b/
+ reset_files
+ rm -fr a b d
+ touch a
+ mkdir b d
+ cp --backup=numbered a a d/
+ reset_files
+ rm -fr a b d
+ touch a
+ mkdir b d
+ returns_ 1 cp --backup a a d/
+ cat
+ compare exp out
+ compare_dev_null_ exp out
+ test 2 = 2
+ test xexp = x/dev/null
+ test xout = x/dev/null
+ return 2
+ case $? in
+ compare_ exp out
+ diff -u exp out
+ for i in mv
+ reset_files
+ rm -fr a b d
+ touch a
+ mkdir b d
+ returns_ 1 mv a a d/
+ returns_ 1 test -e a
+ reset_files
+ rm -fr a b d
+ touch a
+ mkdir b d
+ returns_ 1 mv ./a a d/
+ returns_ 1 test -e a
+ reset_files
+ rm -fr a b d
+ touch a
+ mkdir b d
+ returns_ 1 mv ./b b d/
+ returns_ 1 test -e b
+ reset_files
+ rm -fr a b d
+ touch a
+ mkdir b d
+ returns_ 1 mv --verbose ./b b b/
+ test -d b
+ cat
+ compare exp out
+ compare_dev_null_ exp out
+ test 2 = 2
+ test xexp = x/dev/null
+ test xout = x/dev/null
+ return 2
+ case $? in
+ compare_ exp out
+ diff -u exp out
--- exp 2016-01-13 12:07:44.597145567 -0500
+++ out 2016-01-13 12:07:44.593145610 -0500
@@ -2,4 +2,4 @@
mv: cannot stat 'a': No such file or directory
mv: cannot stat 'b': No such file or directory
mv: cannot move './b' to a subdirectory of itself, 'b/b'
-mv: warning: source directory 'b' specified more than once
+mv: cannot move 'b' to a subdirectory of itself, 'b/b'
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /tmp/coreutils-ss.m4BvOR/coreutils-8.24.150-4ab87
+ chmod -R u+rwx /tmp/coreutils-ss.m4BvOR/coreutils-8.24.150-4ab87/gt-dup-source.sh.OVvi
+ rm -rf /tmp/coreutils-ss.m4BvOR/coreutils-8.24.150-4ab87/gt-dup-source.sh.OVvi
+ exit 1
FAIL tests/mv/dup-source.sh (exit status: 1)
ERROR: tests/cp/fiemap-extents
==============================
++ initial_cwd_=/tmp/coreutils-ss.C7q0eF/coreutils-8.24.150-4ab87
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /tmp/coreutils-ss.C7q0eF/coreutils-8.24.150-4ab87 gt-fiemap-extents.sh.XXXX
+++ case $# in
+++ destdir_=/tmp/coreutils-ss.C7q0eF/coreutils-8.24.150-4ab87
+++ template_=gt-fiemap-extents.sh.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ case $template_ in
++++ unset TMPDIR
+++ d=/tmp/coreutils-ss.C7q0eF/coreutils-8.24.150-4ab87/gt-fiemap-extents.sh.4dWl
+++ case $d in
+++ test -d /tmp/coreutils-ss.C7q0eF/coreutils-8.24.150-4ab87/gt-fiemap-extents.sh.4dWl
++++ tr S -
++++ ls -dgo /tmp/coreutils-ss.C7q0eF/coreutils-8.24.150-4ab87/gt-fiemap-extents.sh.4dWl
+++ perms='drwx------ 2 4096 Jan 13 12:25 /tmp/coreutils-ss.C7q0eF/coreutils-8.24.150-4ab87/gt-fiemap-extents.sh.4dWl'
+++ case $perms in
+++ test 0 = 0
+++ echo /tmp/coreutils-ss.C7q0eF/coreutils-8.24.150-4ab87/gt-fiemap-extents.sh.4dWl
+++ return
++ test_dir_=/tmp/coreutils-ss.C7q0eF/coreutils-8.24.150-4ab87/gt-fiemap-extents.sh.4dWl
++ cd /tmp/coreutils-ss.C7q0eF/coreutils-8.24.150-4ab87/gt-fiemap-extents.sh.4dWl
++ 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.C7q0eF/coreutils-8.24.150-4ab87/./src
+ case $abs_path_dir_ in
+ PATH=/tmp/coreutils-ss.C7q0eF/coreutils-8.24.150-4ab87/./src:/tmp/coreutils-ss.C7q0eF/coreutils-8.24.150-4ab87/src:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin
+ create_exe_shims_ /tmp/coreutils-ss.C7q0eF/coreutils-8.24.150-4ab87/./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.24.150-4ab87
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_sparse_support_
+ test 0 = 0
+ t=sparse.30766
+ dd bs=1 seek=128K of=sparse.30766
++ du -sk sparse.30766
+ set x 0 sparse.30766
+ kb_size=0
+ rm -f sparse.30766
+ test 0 -ge 128
+ touch fiemap_chk
+ fiemap_capable_ fiemap_chk
+ python
+ python /tmp/coreutils-ss.C7q0eF/coreutils-8.24.150-4ab87/tests/fiemap-capable fiemap_chk
+ rm fiemap_chk
+ fallocate --help
+ touch falloc.test
+ fallocate -l 1 -o 0 -n falloc.test
+ rm falloc.test
+ false
+ for sparse_mode in always auto never
+ for alloc in ''\''-l 4MiB '\''' ''\''-l 1MiB -o 4MiB'\''' ''\''-l 1'\'''
+ dd count=10 if=/dev/urandom iflag=fullblock of=unwritten.withdata
10+0 records in
10+0 records out
5120 bytes (5.1 kB, 5.0 KiB) copied, 0.000686039 s, 7.5 MB/s
+ truncate -s 2MiB unwritten.withdata
+ fallocate -l 4MiB -n unwritten.withdata
fallocate: invalid length value specified
+ framework_failure_
+ warn_ 'fiemap-extents.sh: set-up failure: '
+ case $IFS in
+ printf '%s\n' 'fiemap-extents.sh: set-up failure: '
fiemap-extents.sh: set-up failure:
+ test 9 = 2
+ sed 1q
+ printf '%s\n' 'fiemap-extents.sh: set-up failure: '
+ Exit 99
+ set +e
+ exit 99
+ exit 99
+ remove_tmp_
+ __st=99
+ cleanup_
+ :
+ cd /tmp/coreutils-ss.C7q0eF/coreutils-8.24.150-4ab87
+ chmod -R u+rwx /tmp/coreutils-ss.C7q0eF/coreutils-8.24.150-4ab87/gt-fiemap-extents.sh.4dWl
+ rm -rf /tmp/coreutils-ss.C7q0eF/coreutils-8.24.150-4ab87/gt-fiemap-extents.sh.4dWl
+ exit 99
ERROR tests/cp/fiemap-extents.sh (exit status: 99)