The CI shows a test failure of tests/ls/recursive.sh today, that was not
present a week ago, on Alpine Linux and OpenBSD. Probably due to
commit 8787601bbe08ccf38b50e8c7364607229ffa8c64


Log on Alpine Linux:

FAIL: tests/ls/recursive
========================

+ initial_cwd_=/work/coreutils-2025-12-08/build
+ testdir_prefix_
+ printf gt
+ pfx_=gt
+ mktempd_ /work/coreutils-2025-12-08/build gt-recursive.sh.XXXX
+ destdir_=/work/coreutils-2025-12-08/build
+ template_=gt-recursive.sh.XXXX
+ MAX_TRIES_=4
+ destdir_slash_=/work/coreutils-2025-12-08/build/
+ unset TMPDIR
+ d=/work/coreutils-2025-12-08/build/gt-recursive.sh.DOfo
+ :
+ test -d /work/coreutils-2025-12-08/build/gt-recursive.sh.DOfo
+ ls -dgo /work/coreutils-2025-12-08/build/gt-recursive.sh.DOfo
+ perms='drwx------ 2 4096 Dec  8 19:15 
/work/coreutils-2025-12-08/build/gt-recursive.sh.DOfo'
+ :
+ echo /work/coreutils-2025-12-08/build/gt-recursive.sh.DOfo
+ return
+ test_dir_=/work/coreutils-2025-12-08/build/gt-recursive.sh.DOfo
+ cd /work/coreutils-2025-12-08/build/gt-recursive.sh.DOfo
+ srcdir=../..
+ builddir=..
+ export srcdir builddir
+ 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
+ saved_IFS='   
'
+ IFS=:
+ new_PATH=
+ IFS='         
'
+ test -d /work/coreutils-2025-12-08/build/src/.
+ new_PATH=/work/coreutils-2025-12-08/build/src
+ IFS='         
'
+ test -d /usr/local/bin/.
+ new_PATH=/work/coreutils-2025-12-08/build/src:/usr/local/bin
+ IFS='         
'
+ test -d /usr/sbin/.
+ new_PATH=/work/coreutils-2025-12-08/build/src:/usr/local/bin:/usr/sbin
+ IFS='         
'
+ test -d /usr/bin/.
+ 
new_PATH=/work/coreutils-2025-12-08/build/src:/usr/local/bin:/usr/sbin:/usr/bin
+ IFS='         
'
+ test -d /sbin/.
+ 
new_PATH=/work/coreutils-2025-12-08/build/src:/usr/local/bin:/usr/sbin:/usr/bin:/sbin
+ IFS='         
'
+ test -d /bin/.
+ 
new_PATH=/work/coreutils-2025-12-08/build/src:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ IFS='         
'
+ 
PATH=/work/coreutils-2025-12-08/build/src:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export PATH
+ trap remove_tmp_ EXIT
+ path_prepend_ ./src
+ test 1 '!=' 0
+ path_dir_=./src
+ abs_path_dir_=/work/coreutils-2025-12-08/build/./src
+ 
PATH=/work/coreutils-2025-12-08/build/./src:/work/coreutils-2025-12-08/build/src:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ create_exe_shims_ /work/coreutils-2025-12-08/build/./src
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ ls
+ require_built_ ls
+ skip_=no
+ test no '=' yes
+ test yes '=' yes
+ local i
+ env ls --version
ls (GNU coreutils) 2025-12-08
Copyright (C) 2025 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 x y a b c a/1 a/2 a/3
+ touch f a/1/I a/1/II
+ ls -R1 a b c
+ cat
+ compare exp out
+ compare_dev_null_ exp out
+ test 2 '=' 2
+ test xexp '=' x/dev/null
+ test xout '=' x/dev/null
+ return 2
+ compare_ exp out
+ LC_ALL=C diff -u exp out
+ rm -rf out exp
+ ls -R1 x y f
+ cat
+ compare exp out
+ compare_dev_null_ exp out
+ test 2 '=' 2
+ test xexp '=' x/dev/null
+ test xout '=' x/dev/null
+ return 2
+ compare_ exp out
+ LC_ALL=C diff -u exp out
+ mkdir -p 1/2/3/4/5/6/7/8/9/10
+ ulimit -n 7
../tests/ls/recursive.sh: line 65: fcntl(1,F_DUPFD,10): Invalid argument
+ fail=1
+ cat
+ compare exp out
+ compare_dev_null_ exp out
+ test 2 '=' 2
+ test xexp '=' x/dev/null
+ test xout '=' x/dev/null
+ return 2
+ compare_ exp out
+ LC_ALL=C diff -u exp out
--- exp
+++ out
@@ -1,28 +0,0 @@
-1:
-2
-
-1/2:
-3
-
-1/2/3:
-4
-
-1/2/3/4:
-5
-
-1/2/3/4/5:
-6
-
-1/2/3/4/5/6:
-7
-
-1/2/3/4/5/6/7:
-8
-
-1/2/3/4/5/6/7/8:
-9
-
-1/2/3/4/5/6/7/8/9:
-10
-
-1/2/3/4/5/6/7/8/9/10:
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ test  '=' yes
+ cd /work/coreutils-2025-12-08/build
+ chmod -R u+rwx /work/coreutils-2025-12-08/build/gt-recursive.sh.DOfo
+ rm -rf /work/coreutils-2025-12-08/build/gt-recursive.sh.DOfo
+ exit 1
FAIL tests/ls/recursive.sh (exit status: 1)


Log on OpenBSD:

FAIL: tests/ls/recursive
========================

using SHELL=/bin/sh with 'set -x' corrupts stderr
ls (GNU coreutils) 2025-12-08
Copyright (C) 2025 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.
../tests/ls/recursive.sh[65]: too many files open in shell
--- exp Mon Dec  8 19:23:21 2025
+++ out Mon Dec  8 19:23:21 2025
@@ -1,28 +0,0 @@
-1:
-2
-
-1/2:
-3
-
-1/2/3:
-4
-
-1/2/3/4:
-5
-
-1/2/3/4/5:
-6
-
-1/2/3/4/5/6:
-7
-
-1/2/3/4/5/6/7:
-8
-
-1/2/3/4/5/6/7/8:
-9
-
-1/2/3/4/5/6/7/8/9:
-10
-
-1/2/3/4/5/6/7/8/9/10:
FAIL tests/ls/recursive.sh (exit status: 1)




  • tests/ls/recursive.sh fa... Bruno Haible via GNU coreutils General Discussion

Reply via email to