Pádraig Brady wrote:
> > FAIL: tests/ls/block-size
> > 
> > Here is the relevant part of test-suite.log.
> That looks to be an issue with a new part of the test added in this release.
> Unfortunately the log doesn't have tracing enabled
> (perhaps it might with `make check SHELL=/bin/bash` or something?)

Here's a log file produced with
  VERBOSE=1 DEBUG=1 gmake check

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

# TOTAL: 674
# PASS:  503
# SKIP:  170
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

System information (uname -a): FreeBSD 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu Sep 29 03:40:55 UTC 2016 [email protected]:/usr/obj/usr/src/sys/GENERIC

.. contents:: :depth: 2

FAIL: tests/ls/block-size
=========================

+ initial_cwd_=/usr/home/bruno/coreutils-9.7.321-dc30e/build
+ testdir_prefix_
+ printf gt
+ pfx_=gt
+ mktempd_ /usr/home/bruno/coreutils-9.7.321-dc30e/build gt-block-size.sh.XXXX
+ destdir_=/usr/home/bruno/coreutils-9.7.321-dc30e/build
+ template_=gt-block-size.sh.XXXX
+ MAX_TRIES_=4
+ destdir_slash_=/usr/home/bruno/coreutils-9.7.321-dc30e/build/
+ unset TMPDIR
+ d=/usr/home/bruno/coreutils-9.7.321-dc30e/build/gt-block-size.sh.yNFY
+ :
+ test -d /usr/home/bruno/coreutils-9.7.321-dc30e/build/gt-block-size.sh.yNFY
+ ls -dgo /usr/home/bruno/coreutils-9.7.321-dc30e/build/gt-block-size.sh.yNFY
+ perms='drwx------ 2 512 Sep 22 00:33 /usr/home/bruno/coreutils-9.7.321-dc30e/build/gt-block-size.sh.yNFY'
+ :
+ echo /usr/home/bruno/coreutils-9.7.321-dc30e/build/gt-block-size.sh.yNFY
+ return
+ test_dir_=/usr/home/bruno/coreutils-9.7.321-dc30e/build/gt-block-size.sh.yNFY
+ cd /usr/home/bruno/coreutils-9.7.321-dc30e/build/gt-block-size.sh.yNFY
+ srcdir=../..
+ builddir=..
+ export srcdir builddir
+ gl_init_sh_nl_='
'
+ IFS=$' \t
'
+ 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=$' \t
'
+ IFS=:
+ new_PATH=''
+ IFS=$' \t
'
+ test -d /usr/home/bruno/coreutils-9.7.321-dc30e/build/src/.
+ new_PATH=/usr/home/bruno/coreutils-9.7.321-dc30e/build/src
+ IFS=$' \t
'
+ test -d /sbin/.
+ new_PATH=/usr/home/bruno/coreutils-9.7.321-dc30e/build/src:/sbin
+ IFS=$' \t
'
+ test -d /bin/.
+ new_PATH=/usr/home/bruno/coreutils-9.7.321-dc30e/build/src:/sbin:/bin
+ IFS=$' \t
'
+ test -d /usr/sbin/.
+ new_PATH=/usr/home/bruno/coreutils-9.7.321-dc30e/build/src:/sbin:/bin:/usr/sbin
+ IFS=$' \t
'
+ test -d /usr/bin/.
+ new_PATH=/usr/home/bruno/coreutils-9.7.321-dc30e/build/src:/sbin:/bin:/usr/sbin:/usr/bin
+ IFS=$' \t
'
+ test -d /usr/local/sbin/.
+ new_PATH=/usr/home/bruno/coreutils-9.7.321-dc30e/build/src:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin
+ IFS=$' \t
'
+ test -d /usr/local/bin/.
+ new_PATH=/usr/home/bruno/coreutils-9.7.321-dc30e/build/src:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
+ IFS=$' \t
'
+ test -d /home/bruno/bin/.
+ new_PATH=/usr/home/bruno/coreutils-9.7.321-dc30e/build/src:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/bruno/bin
+ IFS=$' \t
'
+ PATH=/usr/home/bruno/coreutils-9.7.321-dc30e/build/src:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/bruno/bin
+ export PATH
+ trap remove_tmp_ EXIT
+ path_prepend_ ./src
+ test 1 '!=' 0
+ path_dir_=./src
+ abs_path_dir_=/usr/home/bruno/coreutils-9.7.321-dc30e/build/./src
+ PATH=/usr/home/bruno/coreutils-9.7.321-dc30e/build/./src:/usr/home/bruno/coreutils-9.7.321-dc30e/build/src:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/bruno/bin
+ create_exe_shims_ /usr/home/bruno/coreutils-9.7.321-dc30e/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) 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 Richard M. Stallman and David MacKenzie.
+ TZ=UTC0
+ export TZ
+ mkdir sub
+ cd sub
+ echo foo
+ dd 'conv=sync' 'bs=1024'
0+1 records in
1+0 records out
1024 bytes (1.0 kB, 1.0 KiB) copied, 9.6639e-05 s, 10.6 MB/s
+ echo foo
+ dd 'conv=sync' 'bs=4096'
0+1 records in
1+0 records out
4096 bytes (4.1 kB, 4.0 KiB) copied, 0.000113678 s, 36.0 MB/s
+ echo foo
+ dd 'conv=sync' 'bs=262144'
0+1 records in
1+0 records out
262144 bytes (262 kB, 256 KiB) copied, 0.000596573 s, 439 MB/s
+ touch -d '2001-01-01 00:00' file1024 file262144 file4096
+ size_etc='s/[^ ]* *[^ ]* *//'
+ sed 's/[^ ]* *[^ ]* *//'
+ ls -og file1024 file262144 file4096
+ sed 's/[^ ]* *[^ ]* *//'
+ POSIXLY_CORRECT=1 ls -og file1024 file262144 file4096
+ sed 's/[^ ]* *[^ ]* *//'
+ POSIXLY_CORRECT=1 ls -k -og file1024 file262144 file4096
+ eval 'BLOCKSIZE=1'
+ sed 's/[^ ]* *[^ ]* *//'
+ BLOCKSIZE=1
+ export BLOCKSIZE
+ echo 'x x # BLOCKSIZE=1'
+ ls -og file1024 file262144 file4096
+ ls -og -k file1024 file262144 file4096
+ ls -og -k '--block-size=1' file1024 file262144 file4096
+ eval 'BLOCKSIZE=512'
+ sed 's/[^ ]* *[^ ]* *//'
+ BLOCKSIZE=512
+ export BLOCKSIZE
+ echo 'x x # BLOCKSIZE=512'
+ ls -og file1024 file262144 file4096
+ ls -og -k file1024 file262144 file4096
+ ls -og -k '--block-size=512' file1024 file262144 file4096
+ eval 'BLOCKSIZE=1K'
+ sed 's/[^ ]* *[^ ]* *//'
+ BLOCKSIZE=1K
+ export BLOCKSIZE
+ echo 'x x # BLOCKSIZE=1K'
+ ls -og file1024 file262144 file4096
+ ls -og -k file1024 file262144 file4096
+ ls -og -k '--block-size=1K' file1024 file262144 file4096
+ eval 'BLOCKSIZE=1KiB'
+ sed 's/[^ ]* *[^ ]* *//'
+ BLOCKSIZE=1KiB
+ export BLOCKSIZE
+ echo 'x x # BLOCKSIZE=1KiB'
+ ls -og file1024 file262144 file4096
+ ls -og -k file1024 file262144 file4096
+ ls -og -k '--block-size=1KiB' file1024 file262144 file4096
+ eval 'BLOCK_SIZE=1'
+ sed 's/[^ ]* *[^ ]* *//'
+ BLOCK_SIZE=1
+ export BLOCK_SIZE
+ echo 'x x # BLOCK_SIZE=1'
+ ls -og file1024 file262144 file4096
+ ls -og -k file1024 file262144 file4096
+ ls -og -k '--block-size=1' file1024 file262144 file4096
+ eval 'BLOCK_SIZE=512'
+ sed 's/[^ ]* *[^ ]* *//'
+ BLOCK_SIZE=512
+ export BLOCK_SIZE
+ echo 'x x # BLOCK_SIZE=512'
+ ls -og file1024 file262144 file4096
+ ls -og -k file1024 file262144 file4096
+ ls -og -k '--block-size=512' file1024 file262144 file4096
+ eval 'BLOCK_SIZE=1K'
+ sed 's/[^ ]* *[^ ]* *//'
+ BLOCK_SIZE=1K
+ export BLOCK_SIZE
+ echo 'x x # BLOCK_SIZE=1K'
+ ls -og file1024 file262144 file4096
+ ls -og -k file1024 file262144 file4096
+ ls -og -k '--block-size=1K' file1024 file262144 file4096
+ eval 'BLOCK_SIZE=1KiB'
+ sed 's/[^ ]* *[^ ]* *//'
+ BLOCK_SIZE=1KiB
+ export BLOCK_SIZE
+ echo 'x x # BLOCK_SIZE=1KiB'
+ ls -og file1024 file262144 file4096
+ ls -og -k file1024 file262144 file4096
+ ls -og -k '--block-size=1KiB' file1024 file262144 file4096
+ eval 'LS_BLOCK_SIZE=1'
+ sed 's/[^ ]* *[^ ]* *//'
+ LS_BLOCK_SIZE=1
+ export LS_BLOCK_SIZE
+ echo 'x x # LS_BLOCK_SIZE=1'
+ ls -og file1024 file262144 file4096
+ ls -og -k file1024 file262144 file4096
+ ls -og -k '--block-size=1' file1024 file262144 file4096
+ eval 'LS_BLOCK_SIZE=512'
+ sed 's/[^ ]* *[^ ]* *//'
+ LS_BLOCK_SIZE=512
+ export LS_BLOCK_SIZE
+ echo 'x x # LS_BLOCK_SIZE=512'
+ ls -og file1024 file262144 file4096
+ ls -og -k file1024 file262144 file4096
+ ls -og -k '--block-size=512' file1024 file262144 file4096
+ eval 'LS_BLOCK_SIZE=1K'
+ sed 's/[^ ]* *[^ ]* *//'
+ LS_BLOCK_SIZE=1K
+ export LS_BLOCK_SIZE
+ echo 'x x # LS_BLOCK_SIZE=1K'
+ ls -og file1024 file262144 file4096
+ ls -og -k file1024 file262144 file4096
+ ls -og -k '--block-size=1K' file1024 file262144 file4096
+ eval 'LS_BLOCK_SIZE=1KiB'
+ sed 's/[^ ]* *[^ ]* *//'
+ LS_BLOCK_SIZE=1KiB
+ export LS_BLOCK_SIZE
+ echo 'x x # LS_BLOCK_SIZE=1KiB'
+ ls -og file1024 file262144 file4096
+ ls -og -k file1024 file262144 file4096
+ ls -og -k '--block-size=1KiB' file1024 file262144 file4096
+ cd ..
+ 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
+ cd sub
+ echo foo
+ dd 'conv=sync' 'bs=1048576'
0+1 records in
1+0 records out
1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0106297 s, 98.6 MB/s
+ echo foo
+ dd 'conv=sync' 'bs=10485760'
0+1 records in
1+0 records out
10485760 bytes (10 MB, 10 MiB) copied, 0.0142147 s, 738 MB/s
+ LC_ALL=sv_SE.UTF-8 ls -s1 $'--block-size=\'k'
+ tail -n+2
+ cut -dK -f1
+ IFS='' read size
+ uniq
+ wc -l
+ printf '%s\n' '  4'
+ LC_ALL=sv_SE.UTF-8 wc -L
+ IFS='' read size
+ printf '%s\n' $'10\302\240272'
+ LC_ALL=sv_SE.UTF-8 wc -L
+ IFS='' read size
+ printf '%s\n' $'1\302\240056'
+ LC_ALL=sv_SE.UTF-8 wc -L
+ IFS='' read size
+ printf '%s\n' 256
+ LC_ALL=sv_SE.UTF-8 wc -L
+ IFS='' read size
+ printf '%s\n' '  4'
+ LC_ALL=sv_SE.UTF-8 wc -L
+ IFS='' read size
+ test 4 '=' 1
+ fail=1
+ LC_ALL=fr_FR.UTF-8 ls -s1 $'--block-size=\'k'
+ tail -n+2
+ cut -dK -f1
+ IFS='' read size
+ uniq
+ wc -l
+ printf '%s\n' '  4'
+ LC_ALL=fr_FR.UTF-8 wc -L
+ IFS='' read size
+ printf '%s\n' $'10\302\240272'
+ LC_ALL=fr_FR.UTF-8 wc -L
+ IFS='' read size
+ printf '%s\n' $'1\302\240056'
+ LC_ALL=fr_FR.UTF-8 wc -L
+ IFS='' read size
+ printf '%s\n' 256
+ LC_ALL=fr_FR.UTF-8 wc -L
+ IFS='' read size
+ printf '%s\n' '  4'
+ LC_ALL=fr_FR.UTF-8 wc -L
+ IFS='' read size
+ test 4 '=' 1
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ test '' '=' yes
+ cd /usr/home/bruno/coreutils-9.7.321-dc30e/build
+ chmod -R u+rwx /usr/home/bruno/coreutils-9.7.321-dc30e/build/gt-block-size.sh.yNFY
+ rm -rf /usr/home/bruno/coreutils-9.7.321-dc30e/build/gt-block-size.sh.yNFY
+ exit 1
FAIL tests/ls/block-size.sh (exit status: 1)

Reply via email to