> On Solaris 11.4 (x86_64, in 64-bit mode), there are 4 test failures: On the same machine, in 32-bit mode, configured with option --disable-year2038, there are two additional test failures:
FAIL: tests/misc/sort-continue ============================== ++ initial_cwd_=/export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32 gt-sort-continue.sh.XXXX +++ case $# in +++ destdir_=/export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32 +++ template_=gt-sort-continue.sh.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/ +++ case $template_ in ++++ unset TMPDIR +++ d=/export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/gt-sort-continue.sh.xO7z +++ case $d in +++ : +++ test -d /export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/gt-sort-continue.sh.xO7z ++++ ls -dgo /export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/gt-sort-continue.sh.xO7z +++ perms='drwx------ 2 2 Apr 13 15:55 /export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/gt-sort-continue.sh.xO7z' +++ case $perms in +++ : +++ echo /export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/gt-sort-continue.sh.xO7z +++ return ++ test_dir_=/export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/gt-sort-continue.sh.xO7z ++ cd /export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/gt-sort-continue.sh.xO7z ++ 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 ++ saved_IFS=' ' ++ IFS=: ++ new_PATH= ++ sep_= ++ for dir in $PATH ++ case "$dir" in ++ test -d /export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/src/. ++ new_PATH=/export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/src ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /usr/xpg4/bin/. ++ new_PATH=/export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/src:/usr/xpg4/bin ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /export/home/bruno/prefix32/bin/. ++ new_PATH=/export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/src:/usr/xpg4/bin:/export/home/bruno/prefix32/bin ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /export/home/bruno/prefix64/bin/. ++ new_PATH=/export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/src:/usr/xpg4/bin:/export/home/bruno/prefix32/bin:/export/home/bruno/prefix64/bin ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /usr/bin/. ++ new_PATH=/export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/src:/usr/xpg4/bin:/export/home/bruno/prefix32/bin:/export/home/bruno/prefix64/bin:/usr/bin ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /usr/sbin/. ++ new_PATH=/export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/src:/usr/xpg4/bin:/export/home/bruno/prefix32/bin:/export/home/bruno/prefix64/bin:/usr/bin:/usr/sbin ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /sbin/. ++ new_PATH=/export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/src:/usr/xpg4/bin:/export/home/bruno/prefix32/bin:/export/home/bruno/prefix64/bin:/usr/bin:/usr/sbin:/sbin ++ sep_=: ++ IFS=' ' ++ PATH=/export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/src:/usr/xpg4/bin:/export/home/bruno/prefix32/bin:/export/home/bruno/prefix64/bin:/usr/bin:/usr/sbin:/sbin ++ export PATH ++ trap remove_tmp_ 0 + path_prepend_ ./src + test 1 '!=' 0 + path_dir_=./src + case $path_dir_ in + abs_path_dir_=/export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/./src + case $abs_path_dir_ in + PATH=/export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/./src:/export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/src:/usr/xpg4/bin:/export/home/bruno/prefix32/bin:/export/home/bruno/prefix64/bin:/usr/bin:/usr/sbin:/sbin + create_exe_shims_ /export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/./src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ sort + require_built_ sort + skip_=no + for i in "$@" + case " $built_programs " in + test no = yes + test yes = yes + local i + for i in $* + env sort --version sort (GNU coreutils) 9.0.207-b411f-dirty Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://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. + ulimit -n 6 + sort ++ seq 31 + for i in $(seq 31) + echo 1 + tee -a in + for i in $(seq 31) + echo 2 + tee -a in + for i in $(seq 31) + echo 3 + tee -a in + for i in $(seq 31) + echo 4 + tee -a in + for i in $(seq 31) + echo 5 + tee -a in + for i in $(seq 31) + echo 6 + tee -a in + for i in $(seq 31) + echo 7 + tee -a in + for i in $(seq 31) + echo 8 + tee -a in + for i in $(seq 31) + echo 9 + tee -a in + for i in $(seq 31) + echo 10 + tee -a in + for i in $(seq 31) + echo 11 + tee -a in + for i in $(seq 31) + echo 12 + tee -a in + for i in $(seq 31) + echo 13 + tee -a in + for i in $(seq 31) + echo 14 + tee -a in + for i in $(seq 31) + echo 15 + tee -a in + for i in $(seq 31) + echo 16 + tee -a in + for i in $(seq 31) + echo 17 + tee -a in + for i in $(seq 31) + echo 18 + tee -a in + for i in $(seq 31) + echo 19 + tee -a in + for i in $(seq 31) + echo 20 + tee -a in + for i in $(seq 31) + echo 21 + tee -a in + for i in $(seq 31) + echo 22 + tee -a in + for i in $(seq 31) + echo 23 + tee -a in + for i in $(seq 31) + echo 24 + tee -a in + for i in $(seq 31) + echo 25 + tee -a in + for i in $(seq 31) + echo 26 + tee -a in + for i in $(seq 31) + echo 27 + tee -a in + for i in $(seq 31) + echo 28 + tee -a in + for i in $(seq 31) + echo 29 + tee -a in + for i in $(seq 31) + echo 30 + tee -a in + for i in $(seq 31) + echo 31 + tee -a in ++ echo __test.1 __test.10 __test.11 __test.12 __test.13 __test.14 __test.15 __test.16 __test.17 __test.18 __test.19 __test.2 __test.20 __test.21 __test.22 __test.23 __test.24 __test.25 __test.26 __test.27 __test.28 __test.29 __test.3 __test.30 __test.31 __test.4 __test.5 __test.6 __test.7 __test.8 __test.9 + test_files='__test.1 __test.10 __test.11 __test.12 __test.13 __test.14 __test.15 __test.16 __test.17 __test.18 __test.19 __test.2 __test.20 __test.21 __test.22 __test.23 __test.24 __test.25 __test.26 __test.27 __test.28 __test.29 __test.3 __test.30 __test.31 __test.4 __test.5 __test.6 __test.7 __test.8 __test.9' + ulimit -n 6 + sort -n -m __test.1 __test.10 __test.11 __test.12 __test.13 __test.14 __test.15 __test.16 __test.17 __test.18 __test.19 __test.2 __test.20 __test.21 __test.22 __test.23 __test.24 __test.25 __test.26 __test.27 __test.28 __test.29 __test.3 __test.30 __test.31 __test.4 __test.5 __test.6 __test.7 __test.8 __test.9 sort: open failed: __test.10: Too many open files + fail=1 + echo 'file descriptor exhaustion not handled' file descriptor exhaustion not handled + echo 32 + tee -a in + ulimit -n 6 + sort -n -m __test.1 __test.10 __test.11 __test.12 __test.13 __test.14 __test.15 __test.16 __test.17 __test.18 __test.19 __test.2 __test.20 __test.21 __test.22 __test.23 __test.24 __test.25 __test.26 __test.27 __test.28 __test.29 __test.3 __test.30 __test.31 __test.4 __test.5 __test.6 __test.7 __test.8 __test.9 - sort: open failed: __test.10: Too many open files + fail=1 + echo 'stdin not handled properly' stdin not handled properly + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + test '' = yes + cd /export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32 + chmod -R u+rwx /export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/gt-sort-continue.sh.xO7z + rm -rf /export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/gt-sort-continue.sh.xO7z + exit 1 FAIL tests/misc/sort-continue.sh (exit status: 1) FAIL: tests/misc/sort-merge-fdlimit =================================== ++ initial_cwd_=/export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32 gt-sort-merge-fdlimit.sh.XXXX +++ case $# in +++ destdir_=/export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32 +++ template_=gt-sort-merge-fdlimit.sh.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/ +++ case $template_ in ++++ unset TMPDIR +++ d=/export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/gt-sort-merge-fdlimit.sh.GnSK +++ case $d in +++ : +++ test -d /export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/gt-sort-merge-fdlimit.sh.GnSK ++++ ls -dgo /export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/gt-sort-merge-fdlimit.sh.GnSK +++ perms='drwx------ 2 2 Apr 13 15:55 /export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/gt-sort-merge-fdlimit.sh.GnSK' +++ case $perms in +++ : +++ echo /export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/gt-sort-merge-fdlimit.sh.GnSK +++ return ++ test_dir_=/export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/gt-sort-merge-fdlimit.sh.GnSK ++ cd /export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/gt-sort-merge-fdlimit.sh.GnSK ++ 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 ++ saved_IFS=' ' ++ IFS=: ++ new_PATH= ++ sep_= ++ for dir in $PATH ++ case "$dir" in ++ test -d /export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/src/. ++ new_PATH=/export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/src ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /usr/xpg4/bin/. ++ new_PATH=/export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/src:/usr/xpg4/bin ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /export/home/bruno/prefix32/bin/. ++ new_PATH=/export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/src:/usr/xpg4/bin:/export/home/bruno/prefix32/bin ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /export/home/bruno/prefix64/bin/. ++ new_PATH=/export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/src:/usr/xpg4/bin:/export/home/bruno/prefix32/bin:/export/home/bruno/prefix64/bin ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /usr/bin/. ++ new_PATH=/export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/src:/usr/xpg4/bin:/export/home/bruno/prefix32/bin:/export/home/bruno/prefix64/bin:/usr/bin ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /usr/sbin/. ++ new_PATH=/export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/src:/usr/xpg4/bin:/export/home/bruno/prefix32/bin:/export/home/bruno/prefix64/bin:/usr/bin:/usr/sbin ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /sbin/. ++ new_PATH=/export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/src:/usr/xpg4/bin:/export/home/bruno/prefix32/bin:/export/home/bruno/prefix64/bin:/usr/bin:/usr/sbin:/sbin ++ sep_=: ++ IFS=' ' ++ PATH=/export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/src:/usr/xpg4/bin:/export/home/bruno/prefix32/bin:/export/home/bruno/prefix64/bin:/usr/bin:/usr/sbin:/sbin ++ export PATH ++ trap remove_tmp_ 0 + path_prepend_ ./src + test 1 '!=' 0 + path_dir_=./src + case $path_dir_ in + abs_path_dir_=/export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/./src + case $abs_path_dir_ in + PATH=/export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/./src:/export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/src:/usr/xpg4/bin:/export/home/bruno/prefix32/bin:/export/home/bruno/prefix64/bin:/usr/bin:/usr/sbin:/sbin + create_exe_shims_ /export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/./src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ sort + require_built_ sort + skip_=no + for i in "$@" + case " $built_programs " in + test no = yes + test yes = yes + local i + for i in $* + env sort --version sort (GNU coreutils) 9.0.207-b411f-dirty Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://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. + mkdir in err ++ seq 17 + for i in $(seq 17) + echo 1 + for i in $(seq 17) + echo 2 + for i in $(seq 17) + echo 3 + for i in $(seq 17) + echo 4 + for i in $(seq 17) + echo 5 + for i in $(seq 17) + echo 6 + for i in $(seq 17) + echo 7 + for i in $(seq 17) + echo 8 + for i in $(seq 17) + echo 9 + for i in $(seq 17) + echo 10 + for i in $(seq 17) + echo 11 + for i in $(seq 17) + echo 12 + for i in $(seq 17) + echo 13 + for i in $(seq 17) + echo 14 + for i in $(seq 17) + echo 15 + for i in $(seq 17) + echo 16 + for i in $(seq 17) + echo 17 + seq 17 + ulimit -n 19 + sort -m --batch-size=16 in/1 in/10 in/11 in/12 in/13 in/14 in/15 in/16 in/17 in/2 in/3 in/4 in/5 in/6 in/7 in/8 in/9 1 10 11 12 13 14 15 16 17 2 3 4 5 6 7 8 9 + for randsource in '' --random-source=some-data + ulimit -n 20 + sort -mR --batch-size=16 in/1 in/10 in/11 in/12 in/13 in/14 in/15 in/16 in/17 in/2 in/3 in/4 in/5 in/6 in/7 in/8 in/9 7 12 16 2 8 4 15 14 6 1 3 11 5 17 9 13 10 + for randsource in '' --random-source=some-data + ulimit -n 20 + sort -mR --random-source=some-data --batch-size=16 in/1 in/10 in/11 in/12 in/13 in/14 in/15 in/16 in/17 in/2 in/3 in/4 in/5 in/6 in/7 in/8 in/9 11 1 14 3 9 15 13 4 16 6 10 12 7 5 2 17 8 + seq 6 + echo 6 + echo 6 + exec + ulimit -n 10 + sort -n -m --batch-size=7 -o out out in/1 in/2 in/3 in/4 in/5 out sort: open failed: in/2: Too many open files + fail=1 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + test '' = yes + cd /export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32 + chmod -R u+rwx /export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/gt-sort-merge-fdlimit.sh.GnSK + rm -rf /export/home/bruno/coreutils-9.0.207-b411f-dirty/build-32/gt-sort-merge-fdlimit.sh.GnSK + exit 1 FAIL tests/misc/sort-merge-fdlimit.sh (exit status: 1)