In today's CI, the tail/append-to-input test fails on Alpine Linux.

Here's the log:


FAIL: tests/tail/append-to-input
================================

+ initial_cwd_=/work/coreutils-2026-11-10/build
+ testdir_prefix_
+ printf gt
+ pfx_=gt
+ mktempd_ /work/coreutils-2026-11-10/build gt-append-to-input.sh.XXXX
+ destdir_=/work/coreutils-2026-11-10/build
+ template_=gt-append-to-input.sh.XXXX
+ MAX_TRIES_=4
+ destdir_slash_=/work/coreutils-2026-11-10/build/
+ unset TMPDIR
+ d=/work/coreutils-2026-11-10/build/gt-append-to-input.sh.F21R
+ :
+ test -d /work/coreutils-2026-11-10/build/gt-append-to-input.sh.F21R
+ ls -dgo /work/coreutils-2026-11-10/build/gt-append-to-input.sh.F21R
+ perms='drwx------ 2 4096 Nov 10 02:02 
/work/coreutils-2026-11-10/build/gt-append-to-input.sh.F21R'
+ :
+ echo /work/coreutils-2026-11-10/build/gt-append-to-input.sh.F21R
+ return
+ test_dir_=/work/coreutils-2026-11-10/build/gt-append-to-input.sh.F21R
+ cd /work/coreutils-2026-11-10/build/gt-append-to-input.sh.F21R
+ 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-2026-11-10/build/src/.
+ new_PATH=/work/coreutils-2026-11-10/build/src
+ IFS='         
'
+ test -d /usr/local/bin/.
+ new_PATH=/work/coreutils-2026-11-10/build/src:/usr/local/bin
+ IFS='         
'
+ test -d /usr/sbin/.
+ new_PATH=/work/coreutils-2026-11-10/build/src:/usr/local/bin:/usr/sbin
+ IFS='         
'
+ test -d /usr/bin/.
+ 
new_PATH=/work/coreutils-2026-11-10/build/src:/usr/local/bin:/usr/sbin:/usr/bin
+ IFS='         
'
+ test -d /sbin/.
+ 
new_PATH=/work/coreutils-2026-11-10/build/src:/usr/local/bin:/usr/sbin:/usr/bin:/sbin
+ IFS='         
'
+ test -d /bin/.
+ 
new_PATH=/work/coreutils-2026-11-10/build/src:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ IFS='         
'
+ 
PATH=/work/coreutils-2026-11-10/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-2026-11-10/build/./src
+ 
PATH=/work/coreutils-2026-11-10/build/./src:/work/coreutils-2026-11-10/build/src:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ create_exe_shims_ /work/coreutils-2026-11-10/build/./src
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ tail seq
+ require_built_ tail seq
+ skip_=no
+ test no '=' yes
+ test yes '=' yes
+ local i
+ env tail --version
tail (GNU coreutils) 2026-11-10
Copyright (C) 2026 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 Paul Rubin, David MacKenzie, Ian Lance Taylor,
and Jim Meyering.
+ env seq --version
seq (GNU coreutils) 2026-11-10
Copyright (C) 2026 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 Ulrich Drepper.
+ seq 100000
+ cp 'in' exp
+ tail -n1 'in'
+ ulimit -f 10000
+ timeout 10 tail -n1 'in'
+ compare exp 'in'
+ compare_dev_null_ exp 'in'
+ test 2 '=' 2
+ test xexp '=' x/dev/null
+ test xin '=' x/dev/null
+ return 2
+ compare_ exp 'in'
+ LC_ALL=C diff -u exp 'in'
+ seq 100000
+ cp 'in' exp
+ tail -c4 'in'
+ ulimit -f 10000
+ timeout 10 tail -c4 'in'
+ compare exp 'in'
+ compare_dev_null_ exp 'in'
+ test 2 '=' 2
+ test xexp '=' x/dev/null
+ test xin '=' x/dev/null
+ return 2
+ compare_ exp 'in'
+ LC_ALL=C diff -u exp 'in'
+ printf 'a\nb\nc\n'
+ printf 'a\nb\nc\nb\nc\n'
+ ulimit -f 10000
+ timeout 10 tail -n+2 'in'
+ compare exp 'in'
+ compare_dev_null_ exp 'in'
+ test 2 '=' 2
+ test xexp '=' x/dev/null
+ test xin '=' x/dev/null
+ return 2
+ compare_ exp 'in'
+ LC_ALL=C diff -u exp 'in'
--- exp
+++ in
@@ -3,3 +3,5 @@
 c
 b
 c
+b
+c
+ fail=1
+ printf 'a\nb\nc\n'
+ printf 'a\nb\nc\nb\nc\n'
+ ulimit -f 10000
+ timeout 10 tail -c+3 'in'
+ compare exp 'in'
+ compare_dev_null_ exp 'in'
+ test 2 '=' 2
+ test xexp '=' x/dev/null
+ test xin '=' x/dev/null
+ return 2
+ compare_ exp 'in'
+ LC_ALL=C diff -u exp 'in'
--- exp
+++ in
@@ -3,3 +3,5 @@
 c
 b
 c
+b
+c
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ test  '=' yes
+ cd /work/coreutils-2026-11-10/build
+ chmod -R u+rwx /work/coreutils-2026-11-10/build/gt-append-to-input.sh.F21R
+ rm -rf /work/coreutils-2026-11-10/build/gt-append-to-input.sh.F21R
+ exit 1
FAIL tests/tail/append-to-input.sh (exit status: 1)





  • tail/append-to-input tes... Bruno Haible via GNU coreutils General Discussion

Reply via email to