On IRIX 6.5, with 'cc', 5 tests fail: FAIL: misc/shuf FAIL: misc/sort-discrim FAIL: misc/sort-month FAIL: misc/sort-rand FAIL: misc/sort-version
Details: FAIL: misc/shuf =============== ++ initial_cwd_=/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests gt-shuf.XXXX +++ case $# in +++ destdir_=/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests +++ template_=gt-shuf.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests gt-shuf.XXXX +++ d=/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-shuf.GKy6 +++ case $d in +++ test -d /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-shuf.GKy6 ++++ ls -dgo /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-shuf.GKy6 ++++ tr S - +++ perms='drwx------ 2 2 Mar 17 02:48 /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-shuf.GKy6' +++ case $perms in +++ test 0 = 0 +++ echo /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-shuf.GKy6 +++ return ++ test_dir_=/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-shuf.GKy6 ++ cd /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-shuf.GKy6 ++ 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 ++ cd /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/../src ++ echo /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/src + abs_path_dir_=/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/src + case $abs_path_dir_ in + PATH=/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/src:/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/src:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/bin:/usr/bin:/sbin:/usr/sbin:/etc:/usr/etc:/usr/bin/X11:/usr/bsd + create_exe_shims_ /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ shuf + test yes = yes + local i + for i in '$*' + env shuf --version shuf (GNU coreutils) 8.15.74-be17e3 Copyright (C) 2012 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. + getlimits_ ++ getlimits + eval CHAR_MAX=255 CHAR_OFLOW=256 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=2147483647 LONG_OFLOW=2147483648 LONG_MIN=-2147483648 LONG_UFLOW=-2147483649 ULONG_MAX=4294967295 ULONG_OFLOW=4294967296 SIZE_MAX=4294967295 SIZE_OFLOW=4294967296 SSIZE_MAX=2147483647 SSIZE_OFLOW=2147483648 SSIZE_MIN=-2147483648 SSIZE_UFLOW=-2147483649 TIME_T_MAX=2147483647 TIME_T_OFLOW=2147483648 TIME_T_MIN=-2147483648 TIME_T_UFLOW=-2147483649 UID_T_MAX=2147483647 UID_T_OFLOW=2147483648 GID_T_MAX=2147483647 GID_T_OFLOW=2147483648 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.175494e-38 FLT_MAX=3.402823e+38 DBL_MIN=2.225074e-308 DBL_MAX=1.797693e+308 LDBL_MIN=2.225074e-308 LDBL_MAX=1.797693e+308 ++ CHAR_MAX=255 ++ CHAR_OFLOW=256 ++ 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=2147483647 ++ LONG_OFLOW=2147483648 ++ LONG_MIN=-2147483648 ++ LONG_UFLOW=-2147483649 ++ ULONG_MAX=4294967295 ++ ULONG_OFLOW=4294967296 ++ SIZE_MAX=4294967295 ++ SIZE_OFLOW=4294967296 ++ SSIZE_MAX=2147483647 ++ SSIZE_OFLOW=2147483648 ++ SSIZE_MIN=-2147483648 ++ SSIZE_UFLOW=-2147483649 ++ TIME_T_MAX=2147483647 ++ TIME_T_OFLOW=2147483648 ++ TIME_T_MIN=-2147483648 ++ TIME_T_UFLOW=-2147483649 ++ UID_T_MAX=2147483647 ++ UID_T_OFLOW=2147483648 ++ GID_T_MAX=2147483647 ++ GID_T_OFLOW=2147483648 ++ 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.175494e-38 ++ FLT_MAX=3.402823e+38 ++ DBL_MIN=2.225074e-308 ++ DBL_MAX=1.797693e+308 ++ LDBL_MIN=2.225074e-308 ++ LDBL_MAX=1.797693e+308 + test 2147483647 + seq 100 + shuf in + compare in out + compare_dev_null_ in out + test 2 = 2 + test xin = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ in out + diff -u in out + sort -n out + compare in out1 + compare_dev_null_ in out1 + test 2 = 2 + test xin = x/dev/null + test xout1 = x/dev/null + return 2 + case $? in + compare_ in out1 + diff -u in out1 --- in Sat Mar 17 02:48:33 2012 +++ out1 Sat Mar 17 02:48:33 2012 @@ -1,5 +1,6 @@ 1 2 +69 3 4 5 @@ -7,15 +8,20 @@ 7 8 9 +53 10 +58 11 12 13 14 +45 15 16 17 +37 18 +80 19 20 21 @@ -23,39 +29,38 @@ 23 24 25 +65 26 27 28 29 +73 30 31 32 +81 33 34 35 36 -37 -38 39 +38 40 41 42 43 +51 44 -45 46 47 48 49 50 -51 52 -53 54 55 56 57 -58 59 60 61 @@ -62,15 +67,13 @@ 62 63 64 -65 66 67 +96 68 -69 70 71 72 -73 74 75 76 @@ -77,8 +80,6 @@ 77 78 79 -80 -81 82 83 84 @@ -93,7 +94,6 @@ 93 94 95 -96 97 98 99 + fail=1 + echo 'not a permutation' not a permutation + shuf -i 1-100 + compare in out + compare_dev_null_ in out + test 2 = 2 + test xin = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ in out + diff -u in out + sort -n out + compare in out1 + compare_dev_null_ in out1 + test 2 = 2 + test xin = x/dev/null + test xout1 = x/dev/null + return 2 + case $? in + compare_ in out1 + diff -u in out1 --- in Sat Mar 17 02:48:33 2012 +++ out1 Sat Mar 17 02:48:33 2012 @@ -1,30 +1,33 @@ 1 2 3 +14 4 5 6 7 8 +21 9 10 11 12 13 -14 15 +84 16 17 18 19 20 -21 22 23 24 25 +99 26 27 +67 28 29 30 @@ -38,11 +41,13 @@ 38 39 40 +62 41 42 43 44 45 +92 46 47 48 @@ -49,39 +54,37 @@ 49 50 51 +58 52 +59 53 +66 54 55 56 57 -58 -59 60 61 -62 63 64 +76 65 -66 -67 68 +94 69 70 71 +82 72 73 74 +79 75 -76 77 78 -79 80 81 -82 83 -84 85 86 87 @@ -89,12 +92,9 @@ 89 90 91 -92 93 -94 95 96 97 98 -99 100 + fail=1 + echo 'not a permutation' not a permutation ++ shuf -e a b c d e ++ sort ++ fmt + t='a b c d e' + test 'a b c d e' = 'a b c d e' + seq 1860 + shuf + shuf --zero-terminated -i 1-1 + printf '1\0' + cmp out exp + timeout 10 shuf -i1-4294967295 -n2 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + cd /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests + chmod -R u+rwx /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-shuf.GKy6 + rm -rf /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-shuf.GKy6 + exit 1 FAIL: misc/sort-discrim ======================= ++ initial_cwd_=/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests gt-sort-discrim.XXXX +++ case $# in +++ destdir_=/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests +++ template_=gt-sort-discrim.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests gt-sort-discrim.XXXX +++ d=/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-discrim.ZwqP +++ case $d in +++ test -d /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-discrim.ZwqP ++++ ls -dgo /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-discrim.ZwqP ++++ tr S - +++ perms='drwx------ 2 2 Mar 17 02:48 /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-discrim.ZwqP' +++ case $perms in +++ test 0 = 0 +++ echo /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-discrim.ZwqP +++ return ++ test_dir_=/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-discrim.ZwqP ++ cd /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-discrim.ZwqP ++ 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 ++ cd /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/../src ++ echo /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/src + abs_path_dir_=/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/src + case $abs_path_dir_ in + PATH=/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/src:/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/src:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/bin:/usr/bin:/sbin:/usr/sbin:/etc:/usr/etc:/usr/bin/X11:/usr/bsd + create_exe_shims_ /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ sort + test yes = yes + local i + for i in '$*' + env sort --version sort (GNU coreutils) 8.15.74-be17e3 Copyright (C) 2012 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. + getlimits_ ++ getlimits + eval CHAR_MAX=255 CHAR_OFLOW=256 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=2147483647 LONG_OFLOW=2147483648 LONG_MIN=-2147483648 LONG_UFLOW=-2147483649 ULONG_MAX=4294967295 ULONG_OFLOW=4294967296 SIZE_MAX=4294967295 SIZE_OFLOW=4294967296 SSIZE_MAX=2147483647 SSIZE_OFLOW=2147483648 SSIZE_MIN=-2147483648 SSIZE_UFLOW=-2147483649 TIME_T_MAX=2147483647 TIME_T_OFLOW=2147483648 TIME_T_MIN=-2147483648 TIME_T_UFLOW=-2147483649 UID_T_MAX=2147483647 UID_T_OFLOW=2147483648 GID_T_MAX=2147483647 GID_T_OFLOW=2147483648 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.175494e-38 FLT_MAX=3.402823e+38 DBL_MIN=2.225074e-308 DBL_MAX=1.797693e+308 LDBL_MIN=2.225074e-308 LDBL_MAX=1.797693e+308 ++ CHAR_MAX=255 ++ CHAR_OFLOW=256 ++ 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=2147483647 ++ LONG_OFLOW=2147483648 ++ LONG_MIN=-2147483648 ++ LONG_UFLOW=-2147483649 ++ ULONG_MAX=4294967295 ++ ULONG_OFLOW=4294967296 ++ SIZE_MAX=4294967295 ++ SIZE_OFLOW=4294967296 ++ SSIZE_MAX=2147483647 ++ SSIZE_OFLOW=2147483648 ++ SSIZE_MIN=-2147483648 ++ SSIZE_UFLOW=-2147483649 ++ TIME_T_MAX=2147483647 ++ TIME_T_OFLOW=2147483648 ++ TIME_T_MIN=-2147483648 ++ TIME_T_UFLOW=-2147483649 ++ UID_T_MAX=2147483647 ++ UID_T_OFLOW=2147483648 ++ GID_T_MAX=2147483647 ++ GID_T_OFLOW=2147483648 ++ 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.175494e-38 ++ FLT_MAX=3.402823e+38 ++ DBL_MIN=2.225074e-308 ++ DBL_MAX=1.797693e+308 ++ LDBL_MIN=2.225074e-308 ++ LDBL_MAX=1.797693e+308 + test 2147483647 + long_prefix=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa + seq -f aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa%5.0f 10000 + sort -R exp + LC_ALL=C + sort + compare out exp + compare_dev_null_ out exp + test 2 = 2 + test xout = x/dev/null + test xexp = x/dev/null + return 2 + case $? in + compare_ out exp + diff -u out exp ++ expr 18446744073709551615 / 200 expr: 18446744073709551615: Result too large + max_int200= + fail=1 + for opts in -n -h + sort -R exp + LC_ALL=C + sort -n + compare out exp + compare_dev_null_ out exp + test 2 = 2 + test xout = x/dev/null + test xexp = x/dev/null + return 2 + case $? in + compare_ out exp + diff -u out exp + for opts in -n -h + sort -R exp + LC_ALL=C + sort -h + compare out exp + compare_dev_null_ out exp + test 2 = 2 + test xout = x/dev/null + test xexp = x/dev/null + return 2 + case $? in + compare_ out exp + diff -u out exp + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + cd /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests + chmod -R u+rwx /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-discrim.ZwqP + rm -rf /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-discrim.ZwqP + exit 1 FAIL: misc/sort-month ===================== ++ initial_cwd_=/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests gt-sort-month.XXXX +++ case $# in +++ destdir_=/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests +++ template_=gt-sort-month.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests gt-sort-month.XXXX +++ d=/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-month.Q0CE +++ case $d in +++ test -d /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-month.Q0CE ++++ ls -dgo /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-month.Q0CE ++++ tr S - +++ perms='drwx------ 2 2 Mar 17 02:50 /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-month.Q0CE' +++ case $perms in +++ test 0 = 0 +++ echo /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-month.Q0CE +++ return ++ test_dir_=/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-month.Q0CE ++ cd /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-month.Q0CE ++ 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 ++ cd /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/../src ++ echo /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/src + abs_path_dir_=/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/src + case $abs_path_dir_ in + PATH=/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/src:/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/src:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/bin:/usr/bin:/sbin:/usr/sbin:/etc:/usr/etc:/usr/bin/X11:/usr/bsd + create_exe_shims_ /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ sort + test yes = yes + local i + for i in '$*' + env sort --version sort (GNU coreutils) 8.15.74-be17e3 Copyright (C) 2012 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. + locale --version + for LOC in '"$LOCALE_FR"' '"$LOCALE_FR_UTF8"' '"ja_JP.utf8"' ++ LC_ALL=fr_FR ++ locale abmon + mon='"jan ";"fév ";"mar ";"avr ";"mai ";"juin";"juil";"août";"sept";"oct ";"nov ";"déc ";' ++ LC_ALL=fr_FR ++ locale abmon ++ shuf ++ nl ++ LC_ALL=fr_FR ++ sort -k2,2M ++ cut -f2 ++ tr '\n' ';' ++ tr ';' '\n' + smon='"avr ";"août";"oct ";"sept";"déc ";"nov ";"jan ";"juil";"mar ";"juin";"fév ";"mai ";' + test '"jan ";"fév ";"mar ";"avr ";"mai ";"juin";"juil";"août";"sept";"oct ";"nov ";"déc ";' = '"avr ";"août";"oct ";"sept";"déc ";"nov ";"jan ";"juil";"mar ";"juin";"fév ";"mai ";' + fail=1 + break + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + cd /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests + chmod -R u+rwx /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-month.Q0CE + rm -rf /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-month.Q0CE + exit 1 FAIL: misc/sort-rand ==================== ++ initial_cwd_=/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests gt-sort-rand.XXXX +++ case $# in +++ destdir_=/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests +++ template_=gt-sort-rand.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests gt-sort-rand.XXXX +++ d=/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-rand.Cham +++ case $d in +++ test -d /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-rand.Cham ++++ ls -dgo /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-rand.Cham ++++ tr S - +++ perms='drwx------ 2 2 Mar 17 02:50 /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-rand.Cham' +++ case $perms in +++ test 0 = 0 +++ echo /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-rand.Cham +++ return ++ test_dir_=/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-rand.Cham ++ cd /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-rand.Cham ++ 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 ++ cd /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/../src ++ echo /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/src + abs_path_dir_=/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/src + case $abs_path_dir_ in + PATH=/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/src:/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/src:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/bin:/usr/bin:/sbin:/usr/sbin:/etc:/usr/etc:/usr/bin/X11:/usr/bsd + create_exe_shims_ /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ sort + test yes = yes + local i + for i in '$*' + env sort --version sort (GNU coreutils) 8.15.74-be17e3 Copyright (C) 2012 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. + seq 100 + sort --random-sort in + compare in out + compare_dev_null_ in out + test 2 = 2 + test xin = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ in out + diff -u in out + sort -n out + compare in out1 + compare_dev_null_ in out1 + test 2 = 2 + test xin = x/dev/null + test xout1 = x/dev/null + return 2 + case $? in + compare_ in out1 + diff -u in out1 --- in Sat Mar 17 02:50:03 2012 +++ out1 Sat Mar 17 02:50:03 2012 @@ -1,11 +1,14 @@ 1 +28 2 3 4 +100 5 6 7 8 +78 9 10 11 @@ -14,9 +17,13 @@ 14 15 16 +69 17 +80 18 +46 19 +76 20 21 22 @@ -25,7 +32,6 @@ 25 26 27 -28 29 30 31 @@ -43,16 +49,17 @@ 43 44 45 -46 47 48 49 50 51 +88 52 53 54 55 +84 56 57 58 @@ -66,26 +73,20 @@ 66 67 68 -69 70 +83 71 72 73 74 75 -76 77 -78 79 -80 81 82 -83 -84 85 86 87 -88 89 90 91 @@ -97,4 +98,3 @@ 97 98 99 -100 + fail=1 + echo 'not a permutation' not a permutation ++ locale -a ++ sort --random-sort ++ awk '/^.._/{print;exit}' + locale=fr_BE + LC_ALL=fr_BE + sort --random-sort in + LC_ALL=fr_BE + sort --random-sort in + compare out1 out2 + compare_dev_null_ out1 out2 + test 2 = 2 + test xout1 = x/dev/null + test xout2 = x/dev/null + return 2 + case $? in + compare_ out1 out2 + diff -u out1 out2 + sort -n out + compare in out1 + compare_dev_null_ in out1 + test 2 = 2 + test xin = x/dev/null + test xout1 = x/dev/null + return 2 + case $? in + compare_ in out1 + diff -u in out1 --- in Sat Mar 17 02:50:03 2012 +++ out1 Sat Mar 17 02:50:05 2012 @@ -1,11 +1,14 @@ 1 +28 2 3 4 +100 5 6 7 8 +78 9 10 11 @@ -14,9 +17,13 @@ 14 15 16 +69 17 +80 18 +46 19 +76 20 21 22 @@ -25,7 +32,6 @@ 25 26 27 -28 29 30 31 @@ -43,16 +49,17 @@ 43 44 45 -46 47 48 49 50 51 +88 52 53 54 55 +84 56 57 58 @@ -66,26 +73,20 @@ 66 67 68 -69 70 +83 71 72 73 74 75 -76 77 -78 79 -80 81 82 -83 -84 85 86 87 -88 89 90 91 @@ -97,4 +98,3 @@ 97 98 99 -100 + fail=1 + echo 'not a permutation with LC_ALL=fr_BE' not a permutation with LC_ALL=fr_BE + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + cd /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests + chmod -R u+rwx /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-rand.Cham + rm -rf /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-rand.Cham + exit 1 FAIL: misc/sort-version ======================= ++ initial_cwd_=/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests gt-sort-version.XXXX +++ case $# in +++ destdir_=/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests +++ template_=gt-sort-version.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests gt-sort-version.XXXX +++ d=/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-version.6zQB +++ case $d in +++ test -d /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-version.6zQB ++++ ls -dgo /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-version.6zQB ++++ tr S - +++ perms='drwx------ 2 2 Mar 17 02:50 /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-version.6zQB' +++ case $perms in +++ test 0 = 0 +++ echo /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-version.6zQB +++ return ++ test_dir_=/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-version.6zQB ++ cd /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-version.6zQB ++ 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 ++ cd /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/../src ++ echo /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/src + abs_path_dir_=/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/src + case $abs_path_dir_ in + PATH=/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/src:/home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/src:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/bin:/usr/bin:/sbin:/usr/sbin:/etc:/usr/etc:/usr/bin/X11:/usr/bsd + create_exe_shims_ /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ sort + test yes = yes + local i + for i in '$*' + env sort --version sort (GNU coreutils) 8.15.74-be17e3 Copyright (C) 2012 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. + cat + cat + sort --sort=version -o out in + 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 Sat Mar 17 02:50:15 2012 +++ out Sat Mar 17 02:50:16 2012 @@ -22,17 +22,17 @@ string start 5.2.0 end of str string start 5.3.0 end of str string start 5.4.0 end of str +string start 5.40.0 end of str string start 5.5.0 end of str string start 5.6.0 end of str string start 5.7.0 end of str +string start 5.60.0 end of str string start 5.8.0 end of str +string start 5.70.0 end of str string start 5.9.0 end of str string start 5.10.0 end of str string start 5.20.0 end of str string start 5.30.0 end of str -string start 5.40.0 end of str string start 5.50.0 end of str -string start 5.60.0 end of str -string start 5.70.0 end of str string start 5.80.0 end of str string start 5.90.0 end of str + fail=1 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + cd /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests + chmod -R u+rwx /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-version.6zQB + rm -rf /home/haible/multibuild-1974/irix65-cc/coreutils-8.15.74-be17e3/tests/gt-sort-version.6zQB + exit 1