++ initial_cwd_=/export/home/bruno/coreutils-8.31.90-cc4c/build-64 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /export/home/bruno/coreutils-8.31.90-cc4c/build-64 gt-timeout-parameters.sh.XXXX +++ case $# in +++ destdir_=/export/home/bruno/coreutils-8.31.90-cc4c/build-64 +++ template_=gt-timeout-parameters.sh.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/export/home/bruno/coreutils-8.31.90-cc4c/build-64/ +++ case $template_ in ++++ unset TMPDIR +++ d=/export/home/bruno/coreutils-8.31.90-cc4c/build-64/gt-timeout-parameters.sh.3v92 +++ case $d in +++ : +++ test -d /export/home/bruno/coreutils-8.31.90-cc4c/build-64/gt-timeout-parameters.sh.3v92 ++++ ls -dgo /export/home/bruno/coreutils-8.31.90-cc4c/build-64/gt-timeout-parameters.sh.3v92 +++ perms='drwx------ 2 2 Mar 1 21:53 /export/home/bruno/coreutils-8.31.90-cc4c/build-64/gt-timeout-parameters.sh.3v92' +++ case $perms in +++ : +++ echo /export/home/bruno/coreutils-8.31.90-cc4c/build-64/gt-timeout-parameters.sh.3v92 +++ return ++ test_dir_=/export/home/bruno/coreutils-8.31.90-cc4c/build-64/gt-timeout-parameters.sh.3v92 ++ cd /export/home/bruno/coreutils-8.31.90-cc4c/build-64/gt-timeout-parameters.sh.3v92 ++ case $srcdir in ++ srcdir=../.. ++ builddir=.. ++ export srcdir builddir ++ 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_=/export/home/bruno/coreutils-8.31.90-cc4c/build-64/./src + case $abs_path_dir_ in + PATH=/export/home/bruno/coreutils-8.31.90-cc4c/build-64/./src:/export/home/bruno/coreutils-8.31.90-cc4c/build-64/src:/usr/xpg4/bin:/usr/bin:/usr/sbin:/sbin:/usr/gnu/bin + create_exe_shims_ /export/home/bruno/coreutils-8.31.90-cc4c/build-64/./src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ timeout + require_built_ timeout + skip_=no + for i in "$@" + case " $built_programs " in + test no = yes + test yes = yes + local i + for i in $* + env timeout --version timeout (GNU coreutils) 8.31.90-cc4c Copyright (C) 2020 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 Padraig Brady. + 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 + returns_ 125 timeout invalid sleep 0 timeout: invalid time interval 'invalid' Try 'timeout --help' for more information. + returns_ 125 timeout --kill-after=invalid 1 sleep 0 timeout: invalid time interval 'invalid' Try 'timeout --help' for more information. + returns_ 125 timeout 42D sleep 0 timeout: invalid time interval '42D' Try 'timeout --help' for more information. +++ date +%s ++ expr 9223372036854775807 - 1583096017 + 100 + KERNEL_OVERFLOW_LIMIT=9223372035271679890 + timeout 9223372035271679890 sleep 0 + test 0 '!=' 124 + timeout 4294967296 sleep 0 + timeout 9223372036854775808d sleep 0 + echo FAIL05 FAIL05 + fail=1 + timeout 2.34e+5d sleep 0 + timeout 1.189731495357231765e+4932 sleep 0 + echo FAIL07 FAIL07 + fail=1 + returns_ 125 timeout -- -1.189731495357231765e+4932 sleep 0 timeout: invalid time interval '-1.189731495357231765e+4932' Try 'timeout --help' for more information. + timeout 10.34 sleep 0 + timeout 9.999999999 sleep 0 + returns_ 125 timeout --signal=invalid 1 sleep 0 timeout: 'invalid': invalid signal Try 'timeout --help' for more information. + returns_ 126 timeout 10 . timeout: failed to run command '.': Permission denied + returns_ 127 timeout 10 no_such timeout: failed to run command 'no_such': No such file or directory + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + test '' = yes + cd /export/home/bruno/coreutils-8.31.90-cc4c/build-64 + chmod -R u+rwx /export/home/bruno/coreutils-8.31.90-cc4c/build-64/gt-timeout-parameters.sh.3v92 + rm -rf /export/home/bruno/coreutils-8.31.90-cc4c/build-64/gt-timeout-parameters.sh.3v92 + exit 1 FAIL tests/misc/timeout-parameters.sh (exit status: 1)