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 . 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 . 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)