The ls/dired test fails on: - FreeBSD 14.0, - Solaris 11 OpenIndiana.
test-suite.log on FreeBSD 14.0: FAIL: tests/ls/dired ==================== tail: cannot open '+53' for reading: No such file or directory Mismatch! Expected: 1a, Found: tail: cannot open '+98' for reading: No such file or directory Mismatch! Expected: 2á, Found: tail: cannot open '+144' for reading: No such file or directory Mismatch! Expected: 3dir, Found: FAIL tests/ls/dired.sh (exit status: 1) test-suite.log on Solaris 11 OpenIndiana: FAIL: tests/ls/dired ==================== ++ initial_cwd_=/export/home/bruno/coreutils-9.4.170-7b206/build-64-gcc +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /export/home/bruno/coreutils-9.4.170-7b206/build-64-gcc gt-dired.sh.XXXX +++ case $# in +++ destdir_=/export/home/bruno/coreutils-9.4.170-7b206/build-64-gcc +++ template_=gt-dired.sh.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/export/home/bruno/coreutils-9.4.170-7b206/build-64-gcc/ +++ case $template_ in ++++ unset TMPDIR +++ d=/export/home/bruno/coreutils-9.4.170-7b206/build-64-gcc/gt-dired.sh.iPQi +++ case $d in +++ : +++ test -d /export/home/bruno/coreutils-9.4.170-7b206/build-64-gcc/gt-dired.sh.iPQi ++++ ls -dgo /export/home/bruno/coreutils-9.4.170-7b206/build-64-gcc/gt-dired.sh.iPQi +++ perms='drwx------ 2 2 Mar 24 13:27 /export/home/bruno/coreutils-9.4.170-7b206/build-64-gcc/gt-dired.sh.iPQi' +++ case $perms in +++ : +++ echo /export/home/bruno/coreutils-9.4.170-7b206/build-64-gcc/gt-dired.sh.iPQi +++ return ++ test_dir_=/export/home/bruno/coreutils-9.4.170-7b206/build-64-gcc/gt-dired.sh.iPQi ++ cd /export/home/bruno/coreutils-9.4.170-7b206/build-64-gcc/gt-dired.sh.iPQi ++ 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.4.170-7b206/build-64-gcc/src/. ++ new_PATH=/export/home/bruno/coreutils-9.4.170-7b206/build-64-gcc/src ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /usr/xpg4/bin/. ++ new_PATH=/export/home/bruno/coreutils-9.4.170-7b206/build-64-gcc/src:/usr/xpg4/bin ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /usr/bin/. ++ new_PATH=/export/home/bruno/coreutils-9.4.170-7b206/build-64-gcc/src:/usr/xpg4/bin:/usr/bin ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /usr/sbin/. ++ new_PATH=/export/home/bruno/coreutils-9.4.170-7b206/build-64-gcc/src:/usr/xpg4/bin:/usr/bin:/usr/sbin ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /sbin/. ++ new_PATH=/export/home/bruno/coreutils-9.4.170-7b206/build-64-gcc/src:/usr/xpg4/bin:/usr/bin:/usr/sbin:/sbin ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /usr/gnu/bin/. ++ new_PATH=/export/home/bruno/coreutils-9.4.170-7b206/build-64-gcc/src:/usr/xpg4/bin:/usr/bin:/usr/sbin:/sbin:/usr/gnu/bin ++ sep_=: ++ IFS=' ' ++ PATH=/export/home/bruno/coreutils-9.4.170-7b206/build-64-gcc/src:/usr/xpg4/bin:/usr/bin:/usr/sbin:/sbin:/usr/gnu/bin ++ export PATH ++ trap remove_tmp_ EXIT + path_prepend_ ./src + test 1 '!=' 0 + path_dir_=./src + case $path_dir_ in + abs_path_dir_=/export/home/bruno/coreutils-9.4.170-7b206/build-64-gcc/./src + case $abs_path_dir_ in + PATH=/export/home/bruno/coreutils-9.4.170-7b206/build-64-gcc/./src:/export/home/bruno/coreutils-9.4.170-7b206/build-64-gcc/src:/usr/xpg4/bin:/usr/bin:/usr/sbin:/sbin:/usr/gnu/bin + create_exe_shims_ /export/home/bruno/coreutils-9.4.170-7b206/build-64-gcc/./src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ ls + require_built_ ls + skip_=no + for i in "$@" + case " $built_programs " in + test no = yes + test yes = yes + local i + for i in $* + env ls --version ls (GNU coreutils) 9.4.170-7b206 Copyright (C) 2024 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 Richard M. Stallman and David MacKenzie. + mkdir dir + cat + for opt in '-l' '' '--hyperlink' '-x' + LC_MESSAGES=C + ls -l -R --dired dir + 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 + LC_ALL=C + diff -u exp out + diff_status_=0 + test 0 -eq 0 + rm -f diff.out + return 0 + for opt in '-l' '' '--hyperlink' '-x' + LC_MESSAGES=C + ls -R --dired dir + 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 + LC_ALL=C + diff -u exp out + diff_status_=0 + test 0 -eq 0 + rm -f diff.out + return 0 + for opt in '-l' '' '--hyperlink' '-x' + LC_MESSAGES=C + ls --hyperlink -R --dired dir + 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 + LC_ALL=C + diff -u exp out + diff_status_=0 + test 0 -eq 0 + rm -f diff.out + return 0 + for opt in '-l' '' '--hyperlink' '-x' + LC_MESSAGES=C + ls -x -R --dired dir + 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 + LC_ALL=C + diff -u exp out + diff_status_=0 + test 0 -eq 0 + rm -f diff.out + return 0 + touch dir/1a $'dir/2\303\241' + mkdir -p dir/3dir + ls -l --dired dir + tee /tmp/pb.ls ++ grep //DIRED// out ++ cut '-d ' -f2- + dired_values='52 54 97 100 143 147' + expected_files='1a 2谩 3dir' ++ printf '%s\n' 52 54 97 100 143 147 ++ wc -l + dired_count=6 ++ printf '%s\n' 1a $'2\303\241' 3dir ++ wc -l + expected_count=3 + test 3 -ne 3 + index=1 + set -- 52 54 97 100 143 147 + test 6 -gt 0 ++ tail -c +53 ++ head -c 54 out tail: cannot open '+53' for reading: No such file or directory + extracted_filename= ++ echo 1a $'2\303\241' 3dir ++ cut '-d ' -f1 + expected_file=1a + test '' '!=' 1a + echo 'Mismatch! Expected: 1a, Found: ' Mismatch! Expected: 1a, Found: + fail=1 + shift + shift + index=2 + test 4 -gt 0 ++ head -c 100 out ++ tail -c +98 tail: cannot open '+98' for reading: No such file or directory + extracted_filename= ++ echo 1a $'2\303\241' 3dir ++ cut '-d ' -f2 + expected_file=$'2\303\241' + test '' '!=' $'2\303\241' + echo 'Mismatch! Expected: 2谩, Found: ' Mismatch! Expected: 2谩, Found: + fail=1 + shift + shift + index=3 + test 2 -gt 0 ++ head -c 147 out ++ tail -c +144 tail: cannot open '+144' for reading: No such file or directory + extracted_filename= ++ ++ cut '-d ' -f3 echo 1a $'2\303\241' 3dir + expected_file=3dir + test '' '!=' 3dir + echo 'Mismatch! Expected: 3dir, Found: ' Mismatch! Expected: 3dir, Found: + fail=1 + shift + shift + index=4 + test 0 -gt 0 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + test '' = yes + cd /export/home/bruno/coreutils-9.4.170-7b206/build-64-gcc + chmod -R u+rwx /export/home/bruno/coreutils-9.4.170-7b206/build-64-gcc/gt-dired.sh.iPQi + rm -rf /export/home/bruno/coreutils-9.4.170-7b206/build-64-gcc/gt-dired.sh.iPQi + exit 1 FAIL tests/ls/dired.sh (exit status: 1)