Pádraig Brady wrote:
> > FAIL: tests/dd/no-allocate.sh
> We should add more space to the ulimit here too (also attached).

This patch fixes the test failure, indeed.

> > FAIL: tests/fold/fold-characters.sh
> > FAIL: tests/fold/fold-zero-width.sh
> > FAIL: tests/fold/fold.pl
> 
> Hopefully the attached avoids the above new failures.

It doesn't. These three tests still fail. Find attached the new log.

=========================================================
   GNU coreutils 9.7.321-dc30e: ./tests/test-suite.log
=========================================================

# TOTAL: 674
# PASS:  490
# SKIP:  180
# XFAIL: 0
# FAIL:  4
# XPASS: 0
# ERROR: 0

System information (uname -a): SunOS 5.10 Generic_147441-19 i86pc i386

.. contents:: :depth: 2

FAIL: tests/fold/fold-characters
================================

++ initial_cwd_=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc gt-fold-characters.sh.XXXX
+++ case $# in
+++ destdir_=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc
+++ template_=gt-fold-characters.sh.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ destdir_slash_=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/
+++ case $template_ in
++++ unset TMPDIR
+++ d=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/gt-fold-characters.sh.3hwC
+++ case $d in
+++ :
+++ test -d /home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/gt-fold-characters.sh.3hwC
++++ ls -dgo /home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/gt-fold-characters.sh.3hwC
+++ perms='drwx------ 2 2 Sep 20 19:45 /home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/gt-fold-characters.sh.3hwC'
+++ case $perms in
+++ :
+++ echo /home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/gt-fold-characters.sh.3hwC
+++ return
++ test_dir_=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/gt-fold-characters.sh.3hwC
++ cd /home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/gt-fold-characters.sh.3hwC
++ 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=
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src/.
++ new_PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/xpg4/bin/.
++ new_PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src:/usr/xpg4/bin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /opt/studio/SOS11/SUNWspro/bin/.
++ new_PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src:/usr/xpg4/bin:/opt/studio/SOS11/SUNWspro/bin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/ccs/bin/.
++ new_PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src:/usr/xpg4/bin:/opt/studio/SOS11/SUNWspro/bin:/usr/ccs/bin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/bin/.
++ new_PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src:/usr/xpg4/bin:/opt/studio/SOS11/SUNWspro/bin:/usr/ccs/bin:/usr/bin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/sbin/.
++ new_PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src:/usr/xpg4/bin:/opt/studio/SOS11/SUNWspro/bin:/usr/ccs/bin:/usr/bin:/usr/sbin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /sbin/.
++ new_PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src:/usr/xpg4/bin:/opt/studio/SOS11/SUNWspro/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/sbin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/ccs/bin/.
++ new_PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src:/usr/xpg4/bin:/opt/studio/SOS11/SUNWspro/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/sbin:/usr/ccs/bin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/dt/bin/.
++ new_PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src:/usr/xpg4/bin:/opt/studio/SOS11/SUNWspro/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/sbin:/usr/ccs/bin:/usr/dt/bin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/openwin/bin/.
++ new_PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src:/usr/xpg4/bin:/opt/studio/SOS11/SUNWspro/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/sbin:/usr/ccs/bin:/usr/dt/bin:/usr/openwin/bin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /opt/SUNWspro/bin/.
++ new_PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src:/usr/xpg4/bin:/opt/studio/SOS11/SUNWspro/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/sbin:/usr/ccs/bin:/usr/dt/bin:/usr/openwin/bin:/opt/SUNWspro/bin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /opt/bop/bin/.
++ new_PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src:/usr/xpg4/bin:/opt/studio/SOS11/SUNWspro/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/sbin:/usr/ccs/bin:/usr/dt/bin:/usr/openwin/bin:/opt/SUNWspro/bin:/opt/bop/bin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /opt/csw/bin/.
++ new_PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src:/usr/xpg4/bin:/opt/studio/SOS11/SUNWspro/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/sbin:/usr/ccs/bin:/usr/dt/bin:/usr/openwin/bin:/opt/SUNWspro/bin:/opt/bop/bin:/opt/csw/bin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/sfw/bin/.
++ new_PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src:/usr/xpg4/bin:/opt/studio/SOS11/SUNWspro/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/sbin:/usr/ccs/bin:/usr/dt/bin:/usr/openwin/bin:/opt/SUNWspro/bin:/opt/bop/bin:/opt/csw/bin:/usr/sfw/bin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/sfw/sbin/.
++ new_PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src:/usr/xpg4/bin:/opt/studio/SOS11/SUNWspro/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/sbin:/usr/ccs/bin:/usr/dt/bin:/usr/openwin/bin:/opt/SUNWspro/bin:/opt/bop/bin:/opt/csw/bin:/usr/sfw/bin:/usr/sfw/sbin
++ IFS=' 	
'
++ PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src:/usr/xpg4/bin:/opt/studio/SOS11/SUNWspro/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/sbin:/usr/ccs/bin:/usr/dt/bin:/usr/openwin/bin:/opt/SUNWspro/bin:/opt/bop/bin:/opt/csw/bin:/usr/sfw/bin:/usr/sfw/sbin
++ export PATH
++ trap remove_tmp_ EXIT
+ path_prepend_ ./src
+ test 1 '!=' 0
+ path_dir_=./src
+ case $path_dir_ in
+ abs_path_dir_=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/./src
+ case $abs_path_dir_ in
+ PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/./src:/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src:/usr/xpg4/bin:/opt/studio/SOS11/SUNWspro/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/sbin:/usr/ccs/bin:/usr/dt/bin:/usr/openwin/bin:/opt/SUNWspro/bin:/opt/bop/bin:/opt/csw/bin:/usr/sfw/bin:/usr/sfw/sbin
+ create_exe_shims_ /home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/./src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ fold printf
+ require_built_ fold printf
+ skip_=no
+ for i in "$@"
+ case " $built_programs " in
+ for i in "$@"
+ case " $built_programs " in
+ test no = yes
+ test yes = yes
+ local i
+ for i in $*
+ env fold --version
fold (GNU coreutils) 9.7.321-dc30e
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 David MacKenzie.
+ for i in $*
+ env printf --version
printf (GNU coreutils) 9.7.321-dc30e
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 David MacKenzie.
+ getlimits_
++ getlimits
+ eval CHAR_MAX=127 CHAR_OFLOW=128 CHAR_MIN=-128 CHAR_UFLOW=-129 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=9223372036854775807 LONG_OFLOW=9223372036854775808 LONG_MIN=-9223372036854775808 LONG_UFLOW=-9223372036854775809 ULONG_MAX=18446744073709551615 ULONG_OFLOW=18446744073709551616 SIZE_MAX=18446744073709551615 SIZE_OFLOW=18446744073709551616 SSIZE_MAX=9223372036854775807 SSIZE_OFLOW=9223372036854775808 SSIZE_MIN=-9223372036854775808 SSIZE_UFLOW=-9223372036854775809 TIME_T_MAX=9223372036854775807 TIME_T_OFLOW=9223372036854775808 TIME_T_MIN=-9223372036854775808 TIME_T_UFLOW=-9223372036854775809 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.1754944e-38 FLT_MAX=3.4028235e+38 DBL_MIN=2.2250738585072014e-308 DBL_MAX=1.7976931348623157e+308 LDBL_MIN=3.3621031431120935063e-4932 LDBL_MAX=1.189731495357231765e+4932 IO_BUFSIZE=262144
++ CHAR_MAX=127
++ CHAR_OFLOW=128
++ CHAR_MIN=-128
++ CHAR_UFLOW=-129
++ 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=9223372036854775807
++ LONG_OFLOW=9223372036854775808
++ LONG_MIN=-9223372036854775808
++ LONG_UFLOW=-9223372036854775809
++ ULONG_MAX=18446744073709551615
++ ULONG_OFLOW=18446744073709551616
++ SIZE_MAX=18446744073709551615
++ SIZE_OFLOW=18446744073709551616
++ SSIZE_MAX=9223372036854775807
++ SSIZE_OFLOW=9223372036854775808
++ SSIZE_MIN=-9223372036854775808
++ SSIZE_UFLOW=-9223372036854775809
++ TIME_T_MAX=9223372036854775807
++ TIME_T_OFLOW=9223372036854775808
++ TIME_T_MIN=-9223372036854775808
++ TIME_T_UFLOW=-9223372036854775809
++ 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.1754944e-38
++ FLT_MAX=3.4028235e+38
++ DBL_MIN=2.2250738585072014e-308
++ DBL_MAX=1.7976931348623157e+308
++ LDBL_MIN=3.3621031431120935063e-4932
++ LDBL_MAX=1.189731495357231765e+4932
++ IO_BUFSIZE=262144
+ test 2147483647
+ test fr_FR.UTF-8 '!=' none
+ LC_ALL=fr_FR.UTF-8
+ export LC_ALL
++ env printf '\uB250\uFF1A'
++ wc -L
+ test 4 -eq 4
+ env printf '\uB250\uB250\uB250\n'
+ env printf '\uB250\uB250\n\uB250\n'
+ fold -w 5 input1
+ compare column-exp1 column-out1
+ compare_dev_null_ column-exp1 column-out1
+ test 2 = 2
+ test xcolumn-exp1 = x/dev/null
+ test xcolumn-out1 = x/dev/null
+ return 2
+ case $? in
+ compare_ column-exp1 column-out1
+ LC_ALL=C
+ diff -u column-exp1 column-out1
+ diff_status_=1
+ test 1 -eq 0
+ cat diff.out
--- column-exp1	Sat Sep 20 19:45:31 2025
+++ column-out1	Sat Sep 20 19:45:31 2025
@@ -1,2 +1,1 @@
-??????
-???
+?????????
+ rm -f diff.out
+ return 1
+ fail=1
+ fold --characters -w 5 input1
+ compare input1 characters-out1
+ compare_dev_null_ input1 characters-out1
+ test 2 = 2
+ test xinput1 = x/dev/null
+ test xcharacters-out1 = x/dev/null
+ return 2
+ case $? in
+ compare_ input1 characters-out1
+ LC_ALL=C
+ diff -u input1 characters-out1
+ diff_status_=0
+ test 0 -eq 0
+ rm -f diff.out
+ return 0
++ seq 50
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 1 -eq 0
+ test 1 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 2 -eq 0
+ test 2 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 3 -eq 0
+ test 3 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 4 -eq 0
+ test 4 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 0 -eq 0
+ env printf '\n'
+ test 5 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 1 -eq 0
+ test 6 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 2 -eq 0
+ test 7 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 3 -eq 0
+ test 8 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 4 -eq 0
+ test 9 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 0 -eq 0
+ env printf '\n'
+ test 0 -eq 0
+ env printf '\n'
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 1 -eq 0
+ test 1 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 2 -eq 0
+ test 2 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 3 -eq 0
+ test 3 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 4 -eq 0
+ test 4 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 0 -eq 0
+ env printf '\n'
+ test 5 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 1 -eq 0
+ test 6 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 2 -eq 0
+ test 7 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 3 -eq 0
+ test 8 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 4 -eq 0
+ test 9 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 0 -eq 0
+ env printf '\n'
+ test 0 -eq 0
+ env printf '\n'
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 1 -eq 0
+ test 1 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 2 -eq 0
+ test 2 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 3 -eq 0
+ test 3 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 4 -eq 0
+ test 4 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 0 -eq 0
+ env printf '\n'
+ test 5 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 1 -eq 0
+ test 6 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 2 -eq 0
+ test 7 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 3 -eq 0
+ test 8 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 4 -eq 0
+ test 9 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 0 -eq 0
+ env printf '\n'
+ test 0 -eq 0
+ env printf '\n'
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 1 -eq 0
+ test 1 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 2 -eq 0
+ test 2 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 3 -eq 0
+ test 3 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 4 -eq 0
+ test 4 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 0 -eq 0
+ env printf '\n'
+ test 5 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 1 -eq 0
+ test 6 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 2 -eq 0
+ test 7 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 3 -eq 0
+ test 8 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 4 -eq 0
+ test 9 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 0 -eq 0
+ env printf '\n'
+ test 0 -eq 0
+ env printf '\n'
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 1 -eq 0
+ test 1 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 2 -eq 0
+ test 2 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 3 -eq 0
+ test 3 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 4 -eq 0
+ test 4 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 0 -eq 0
+ env printf '\n'
+ test 5 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 1 -eq 0
+ test 6 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 2 -eq 0
+ test 7 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 3 -eq 0
+ test 8 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 4 -eq 0
+ test 9 -eq 0
+ for i in $(seq 50)
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ env printf '\uFF1A'
+ test 0 -eq 0
+ env printf '\n'
+ test 0 -eq 0
+ env printf '\n'
+ env printf '\n'
+ fold -w 10 input2
+ compare column-exp2 column-out2
+ compare_dev_null_ column-exp2 column-out2
+ test 2 = 2
+ test xcolumn-exp2 = x/dev/null
+ test xcolumn-out2 = x/dev/null
+ return 2
+ case $? in
+ compare_ column-exp2 column-out2
+ LC_ALL=C
+ diff -u column-exp2 column-out2
+ diff_status_=1
+ test 1 -eq 0
+ cat diff.out
--- column-exp2	Sat Sep 20 19:45:39 2025
+++ column-out2	Sat Sep 20 19:45:39 2025
@@ -1,10 +1,5 @@
-???????????????
-???????????????
-???????????????
-???????????????
-???????????????
-???????????????
-???????????????
-???????????????
-???????????????
-???????????????
+??????????????????????????????
+??????????????????????????????
+??????????????????????????????
+??????????????????????????????
+??????????????????????????????
+ rm -f diff.out
+ return 1
+ fail=1
+ fold --characters -w 10 input2
+ compare character-exp2 character-out2
+ compare_dev_null_ character-exp2 character-out2
+ test 2 = 2
+ test xcharacter-exp2 = x/dev/null
+ test xcharacter-out2 = x/dev/null
+ return 2
+ case $? in
+ compare_ character-exp2 character-out2
+ LC_ALL=C
+ diff -u character-exp2 character-out2
+ diff_status_=0
+ test 0 -eq 0
+ rm -f diff.out
+ return 0
+ IO_BUFSIZE_MINUS_1=262143
+ test 262143 -gt 0
+ yes a
+ head -n 262143
+ tr -d '\n'
+ env printf '\uB250'
+ yes a
+ head -n 100
+ tr -d '\n'
+ env printf '\n'
+ yes a
+ head -n 80
+ tr -d '\n'
+ env printf '\n'
+ yes a
+ head -n 63
+ tr -d '\n'
+ env printf '\uB250'
+ yes a
+ head -n 16
+ tr -d '\n'
+ env printf '\n'
+ yes a
+ head -n 80
+ tr -d '\n'
+ env printf '\naaaa\n'
+ fold --characters input3
+ tail -n 4
+ compare exp3 out3
+ compare_dev_null_ exp3 out3
+ test 2 = 2
+ test xexp3 = x/dev/null
+ test xout3 = x/dev/null
+ return 2
+ case $? in
+ compare_ exp3 out3
+ LC_ALL=C
+ diff -u exp3 out3
+ diff_status_=0
+ test 0 -eq 0
+ rm -f diff.out
+ return 0
+ bad_unicode
+ env printf '\xC3|\xED\xBA\xAD|\u0000|\u0089|\xED\xA6\xBF\xED\xBF\xBF\n'
++ uniq
++ wc -l
++ bad_unicode
++ env printf '\xC3|\xED\xBA\xAD|\u0000|\u0089|\xED\xA6\xBF\xED\xBF\xBF\n'
++ fold
++ bad_unicode
++ env printf '\xC3|\xED\xBA\xAD|\u0000|\u0089|\xED\xA6\xBF\xED\xBF\xBF\n'
+ test 1 = 1
++ fold
++ env printf '\xC3'
++ wc -c
+ test 1 = 1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ test '' = yes
+ cd /home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc
+ chmod -R u+rwx /home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/gt-fold-characters.sh.3hwC
+ rm -rf /home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/gt-fold-characters.sh.3hwC
+ exit 1
FAIL tests/fold/fold-characters.sh (exit status: 1)

FAIL: tests/fold/fold-zero-width
================================

++ initial_cwd_=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc gt-fold-zero-width.sh.XXXX
+++ case $# in
+++ destdir_=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc
+++ template_=gt-fold-zero-width.sh.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ destdir_slash_=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/
+++ case $template_ in
++++ unset TMPDIR
+++ d=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/gt-fold-zero-width.sh.1y3K
+++ case $d in
+++ :
+++ test -d /home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/gt-fold-zero-width.sh.1y3K
++++ ls -dgo /home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/gt-fold-zero-width.sh.1y3K
+++ perms='drwx------ 2 2 Sep 20 19:45 /home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/gt-fold-zero-width.sh.1y3K'
+++ case $perms in
+++ :
+++ echo /home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/gt-fold-zero-width.sh.1y3K
+++ return
++ test_dir_=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/gt-fold-zero-width.sh.1y3K
++ cd /home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/gt-fold-zero-width.sh.1y3K
++ 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=
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src/.
++ new_PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/xpg4/bin/.
++ new_PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src:/usr/xpg4/bin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /opt/studio/SOS11/SUNWspro/bin/.
++ new_PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src:/usr/xpg4/bin:/opt/studio/SOS11/SUNWspro/bin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/ccs/bin/.
++ new_PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src:/usr/xpg4/bin:/opt/studio/SOS11/SUNWspro/bin:/usr/ccs/bin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/bin/.
++ new_PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src:/usr/xpg4/bin:/opt/studio/SOS11/SUNWspro/bin:/usr/ccs/bin:/usr/bin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/sbin/.
++ new_PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src:/usr/xpg4/bin:/opt/studio/SOS11/SUNWspro/bin:/usr/ccs/bin:/usr/bin:/usr/sbin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /sbin/.
++ new_PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src:/usr/xpg4/bin:/opt/studio/SOS11/SUNWspro/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/sbin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/ccs/bin/.
++ new_PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src:/usr/xpg4/bin:/opt/studio/SOS11/SUNWspro/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/sbin:/usr/ccs/bin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/dt/bin/.
++ new_PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src:/usr/xpg4/bin:/opt/studio/SOS11/SUNWspro/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/sbin:/usr/ccs/bin:/usr/dt/bin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/openwin/bin/.
++ new_PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src:/usr/xpg4/bin:/opt/studio/SOS11/SUNWspro/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/sbin:/usr/ccs/bin:/usr/dt/bin:/usr/openwin/bin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /opt/SUNWspro/bin/.
++ new_PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src:/usr/xpg4/bin:/opt/studio/SOS11/SUNWspro/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/sbin:/usr/ccs/bin:/usr/dt/bin:/usr/openwin/bin:/opt/SUNWspro/bin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /opt/bop/bin/.
++ new_PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src:/usr/xpg4/bin:/opt/studio/SOS11/SUNWspro/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/sbin:/usr/ccs/bin:/usr/dt/bin:/usr/openwin/bin:/opt/SUNWspro/bin:/opt/bop/bin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /opt/csw/bin/.
++ new_PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src:/usr/xpg4/bin:/opt/studio/SOS11/SUNWspro/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/sbin:/usr/ccs/bin:/usr/dt/bin:/usr/openwin/bin:/opt/SUNWspro/bin:/opt/bop/bin:/opt/csw/bin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/sfw/bin/.
++ new_PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src:/usr/xpg4/bin:/opt/studio/SOS11/SUNWspro/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/sbin:/usr/ccs/bin:/usr/dt/bin:/usr/openwin/bin:/opt/SUNWspro/bin:/opt/bop/bin:/opt/csw/bin:/usr/sfw/bin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/sfw/sbin/.
++ new_PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src:/usr/xpg4/bin:/opt/studio/SOS11/SUNWspro/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/sbin:/usr/ccs/bin:/usr/dt/bin:/usr/openwin/bin:/opt/SUNWspro/bin:/opt/bop/bin:/opt/csw/bin:/usr/sfw/bin:/usr/sfw/sbin
++ IFS=' 	
'
++ PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src:/usr/xpg4/bin:/opt/studio/SOS11/SUNWspro/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/sbin:/usr/ccs/bin:/usr/dt/bin:/usr/openwin/bin:/opt/SUNWspro/bin:/opt/bop/bin:/opt/csw/bin:/usr/sfw/bin:/usr/sfw/sbin
++ export PATH
++ trap remove_tmp_ EXIT
+ path_prepend_ ./src
+ test 1 '!=' 0
+ path_dir_=./src
+ case $path_dir_ in
+ abs_path_dir_=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/./src
+ case $abs_path_dir_ in
+ PATH=/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/./src:/home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/src:/usr/xpg4/bin:/opt/studio/SOS11/SUNWspro/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/sbin:/usr/ccs/bin:/usr/dt/bin:/usr/openwin/bin:/opt/SUNWspro/bin:/opt/bop/bin:/opt/csw/bin:/usr/sfw/bin:/usr/sfw/sbin
+ create_exe_shims_ /home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/./src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ fold printf
+ require_built_ fold printf
+ skip_=no
+ for i in "$@"
+ case " $built_programs " in
+ for i in "$@"
+ case " $built_programs " in
+ test no = yes
+ test yes = yes
+ local i
+ for i in $*
+ env fold --version
fold (GNU coreutils) 9.7.321-dc30e
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 David MacKenzie.
+ for i in $*
+ env printf --version
printf (GNU coreutils) 9.7.321-dc30e
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 David MacKenzie.
+ getlimits_
++ getlimits
+ eval CHAR_MAX=127 CHAR_OFLOW=128 CHAR_MIN=-128 CHAR_UFLOW=-129 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=9223372036854775807 LONG_OFLOW=9223372036854775808 LONG_MIN=-9223372036854775808 LONG_UFLOW=-9223372036854775809 ULONG_MAX=18446744073709551615 ULONG_OFLOW=18446744073709551616 SIZE_MAX=18446744073709551615 SIZE_OFLOW=18446744073709551616 SSIZE_MAX=9223372036854775807 SSIZE_OFLOW=9223372036854775808 SSIZE_MIN=-9223372036854775808 SSIZE_UFLOW=-9223372036854775809 TIME_T_MAX=9223372036854775807 TIME_T_OFLOW=9223372036854775808 TIME_T_MIN=-9223372036854775808 TIME_T_UFLOW=-9223372036854775809 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.1754944e-38 FLT_MAX=3.4028235e+38 DBL_MIN=2.2250738585072014e-308 DBL_MAX=1.7976931348623157e+308 LDBL_MIN=3.3621031431120935063e-4932 LDBL_MAX=1.189731495357231765e+4932 IO_BUFSIZE=262144
++ CHAR_MAX=127
++ CHAR_OFLOW=128
++ CHAR_MIN=-128
++ CHAR_UFLOW=-129
++ 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=9223372036854775807
++ LONG_OFLOW=9223372036854775808
++ LONG_MIN=-9223372036854775808
++ LONG_UFLOW=-9223372036854775809
++ ULONG_MAX=18446744073709551615
++ ULONG_OFLOW=18446744073709551616
++ SIZE_MAX=18446744073709551615
++ SIZE_OFLOW=18446744073709551616
++ SSIZE_MAX=9223372036854775807
++ SSIZE_OFLOW=9223372036854775808
++ SSIZE_MIN=-9223372036854775808
++ SSIZE_UFLOW=-9223372036854775809
++ TIME_T_MAX=9223372036854775807
++ TIME_T_OFLOW=9223372036854775808
++ TIME_T_MIN=-9223372036854775808
++ TIME_T_UFLOW=-9223372036854775809
++ 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.1754944e-38
++ FLT_MAX=3.4028235e+38
++ DBL_MIN=2.2250738585072014e-308
++ DBL_MAX=1.7976931348623157e+308
++ LDBL_MIN=3.3621031431120935063e-4932
++ LDBL_MAX=1.189731495357231765e+4932
++ IO_BUFSIZE=262144
+ test 2147483647
+ IO_BUFSIZE_TIMES2=524288
+ head -c 524288 /dev/zero
+ fold
++ wc -l
+ test 0 -eq 0
+ head -c 524288 /dev/zero
+ fold --characters
++ wc -l
+ test 6553 -eq 6553
+ test fr_FR.UTF-8 '!=' none
+ LC_ALL=fr_FR.UTF-8
+ export LC_ALL
++ env printf '\u200B'
++ wc -L
+ test 0 -eq 0
+ head -n 524288
+ tr -d '\n'
++ env printf '\u200B'
+ yes $'\342\200\213'
+ fold inp
++ wc -l
+ test 6553 -eq 0
+ fail=1
+ fold --characters inp
++ wc -l
+ test 6553 -eq 6553
+ test -w /dev/full
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ test '' = yes
+ cd /home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc
+ chmod -R u+rwx /home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/gt-fold-zero-width.sh.1y3K
+ rm -rf /home/haible/coreutils-9.7.321-dc30e/build-x86-64-cc/gt-fold-zero-width.sh.1y3K
+ exit 1
FAIL tests/fold/fold-zero-width.sh (exit status: 1)

FAIL: tests/fold/fold
=====================

fold (GNU coreutils) 9.7.321-dc30e
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 David MacKenzie.
s1...
s1.r...
s1.p...
s2...
s2.r...
s2.p...
s3...
s3.r...
s3.p...
s4...
s4.r...
s4.p...
enoent...
bw1...
bw1.r...
bw1.p...
bw2...
bw2.r...
bw2.p...
s1-mb...
s1-mb.r...
s1-mb.p...
s2-mb...
s2-mb.r...
s2-mb.p...
s3-mb...
s3-mb.r...
s3-mb.p...
s4-mb...
s4-mb.r...
s4-mb.p...
enoent-mb...
bw1-mb...
bw1-mb.r...
bw1-mb.p...
bw2-mb...
bw2-mb.r...
bw2-mb.p...
smb1...
smb1.r...
smb1.p...
smb2...
fold.pl: test smb2: stdout mismatch, comparing smb2.2 (expected) and smb2.O (actual)
*** smb2.2	Sat Sep 20 19:45:52 2025
--- smb2.O	Sat Sep 20 19:45:52 2025
***************
*** 1,2 ****
! e??e??
  e??
--- 1,3 ----
! e??
! e??
  e??
smb2.r...
fold.pl: test smb2.r: stdout mismatch, comparing smb2.r.2 (expected) and smb2.r.O (actual)
*** smb2.r.2	Sat Sep 20 19:45:52 2025
--- smb2.r.O	Sat Sep 20 19:45:52 2025
***************
*** 1,2 ****
! e??e??
  e??
--- 1,3 ----
! e??
! e??
  e??
smb2.p...
fold.pl: test smb2.p: stdout mismatch, comparing smb2.p.2 (expected) and smb2.p.O (actual)
*** smb2.p.2	Sat Sep 20 19:45:52 2025
--- smb2.p.O	Sat Sep 20 19:45:52 2025
***************
*** 1,2 ****
! e??e??
  e??
--- 1,3 ----
! e??
! e??
  e??
smb3...
fold.pl: test smb3: stdout mismatch, comparing smb3.2 (expected) and smb3.O (actual)
*** smb3.2	Sat Sep 20 19:45:52 2025
--- smb3.O	Sat Sep 20 19:45:52 2025
***************
*** 1,2 ****
! ???
! ???
--- 1 ----
! ??????
smb3.r...
fold.pl: test smb3.r: stdout mismatch, comparing smb3.r.2 (expected) and smb3.r.O (actual)
*** smb3.r.2	Sat Sep 20 19:45:52 2025
--- smb3.r.O	Sat Sep 20 19:45:52 2025
***************
*** 1,2 ****
! ???
! ???
--- 1 ----
! ??????
smb3.p...
fold.pl: test smb3.p: stdout mismatch, comparing smb3.p.2 (expected) and smb3.p.O (actual)
*** smb3.p.2	Sat Sep 20 19:45:52 2025
--- smb3.p.O	Sat Sep 20 19:45:52 2025
***************
*** 1,2 ****
! ???
! ???
--- 1 ----
! ??????
FAIL tests/fold/fold.pl (exit status: 1)

FAIL: tests/tac/tac
===================

tac (GNU coreutils) 9.7.321-dc30e
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 Jay Lepreau and David MacKenzie.
segfault...
tac: test segfault failed: exit status mismatch:  expected 0, got 1
segfault2...
tac: test segfault2 failed: exit status mismatch:  expected 0, got 1
basic-0...
basic-0.r...
basic-0.p...
basic-a...
basic-a.r...
basic-a.p...
basic-b...
basic-b.r...
basic-b.p...
basic-c...
basic-c.r...
basic-c.p...
basic-d...
basic-d.r...
basic-d.p...
basic-e...
basic-e.r...
basic-e.p...
basic-f...
basic-f.r...
basic-f.p...
basic-g...
basic-g.r...
basic-g.p...
basic-h...
basic-h.r...
basic-h.p...
basic-i...
basic-i.r...
basic-i.p...
basic-j...
basic-j.r...
basic-j.p...
basic-k...
basic-k.r...
basic-k.p...
nul-0...
nul-0.r...
nul-0.p...
nul-a...
nul-a.r...
nul-a.p...
nul-b...
nul-b.r...
nul-b.p...
nul-c...
nul-c.r...
nul-c.p...
nul-d...
nul-d.r...
nul-d.p...
nul-e...
nul-e.r...
nul-e.p...
opt-b...
opt-b.r...
opt-b.p...
opt-s...
opt-s.r...
opt-s.p...
opt-sb...
opt-sb.r...
opt-sb.p...
opt-r...
tac: test opt-r failed: exit status mismatch:  expected 0, got 1
opt-r.r...
tac: test opt-r.r failed: exit status mismatch:  expected 0, got 1
opt-r.p...
tac: test opt-r.p failed: exit status mismatch:  expected 0, got 1
opt-r2...
tac: test opt-r2 failed: exit status mismatch:  expected 0, got 1
opt-r2.r...
tac: test opt-r2.r failed: exit status mismatch:  expected 0, got 1
opt-r2.p...
tac: test opt-r2.p failed: exit status mismatch:  expected 0, got 1
opt-br...
tac: test opt-br failed: exit status mismatch:  expected 0, got 1
opt-br.r...
tac: test opt-br.r failed: exit status mismatch:  expected 0, got 1
opt-br.p...
tac: test opt-br.p failed: exit status mismatch:  expected 0, got 1
opt-br2...
tac: test opt-br2 failed: exit status mismatch:  expected 0, got 1
opt-br2.r...
tac: test opt-br2.r failed: exit status mismatch:  expected 0, got 1
opt-br2.p...
tac: test opt-br2.p failed: exit status mismatch:  expected 0, got 1
pipe-bad-tmpdir...
double-free...
double-free.r...
double-free.p...
FAIL tests/tac/tac.pl (exit status: 1)

Reply via email to