On Slackware 15 (32-bit x86), one test fails: FAIL: tests/cksum/b2sum
========================================================== GNU coreutils 9.10.289-a8598: ./tests/test-suite.log ========================================================== # TOTAL: 732 # PASS: 593 # SKIP: 138 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 System information (uname -a): Linux 5.15.19-smp #1 SMP PREEMPT Wed Feb 2 01:25:47 CST 2022 i686 AMD Ryzen 5 PRO 5650U with Radeon Graphics AuthenticAMD Distribution information (/etc/os-release): NAME=Slackware VERSION="15.0" ID=slackware VERSION_ID=15.0 PRETTY_NAME="Slackware 15.0 i586" ANSI_COLOR="0;34" CPE_NAME="cpe:/o:slackware:slackware_linux:15.0" HOME_URL="http://slackware.com/" .. contents:: :depth: 2 FAIL: tests/cksum/b2sum ======================= ++ initial_cwd_=/home/bruno/coreutils-9.10.289-a8598/build +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /home/bruno/coreutils-9.10.289-a8598/build gt-b2sum.sh.XXXX +++ case $# in +++ destdir_=/home/bruno/coreutils-9.10.289-a8598/build +++ template_=gt-b2sum.sh.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/home/bruno/coreutils-9.10.289-a8598/build/ +++ case $template_ in ++++ unset TMPDIR +++ d=/home/bruno/coreutils-9.10.289-a8598/build/gt-b2sum.sh.eS8K +++ case $d in +++ : +++ test -d /home/bruno/coreutils-9.10.289-a8598/build/gt-b2sum.sh.eS8K ++++ ls -dgo /home/bruno/coreutils-9.10.289-a8598/build/gt-b2sum.sh.eS8K +++ perms='drwx------ 2 4096 Apr 16 16:09 /home/bruno/coreutils-9.10.289-a8598/build/gt-b2sum.sh.eS8K' +++ case $perms in +++ : +++ echo /home/bruno/coreutils-9.10.289-a8598/build/gt-b2sum.sh.eS8K +++ return ++ test_dir_=/home/bruno/coreutils-9.10.289-a8598/build/gt-b2sum.sh.eS8K ++ cd /home/bruno/coreutils-9.10.289-a8598/build/gt-b2sum.sh.eS8K ++ 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/bruno/coreutils-9.10.289-a8598/build/src/. ++ new_PATH=/home/bruno/coreutils-9.10.289-a8598/build/src ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /usr/local/bin/. ++ new_PATH=/home/bruno/coreutils-9.10.289-a8598/build/src:/usr/local/bin ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /usr/bin/. ++ new_PATH=/home/bruno/coreutils-9.10.289-a8598/build/src:/usr/local/bin:/usr/bin ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /bin/. ++ new_PATH=/home/bruno/coreutils-9.10.289-a8598/build/src:/usr/local/bin:/usr/bin:/bin ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /usr/lib/libexec/kf5/. ++ new_PATH=/home/bruno/coreutils-9.10.289-a8598/build/src:/usr/local/bin:/usr/bin:/bin:/usr/lib/libexec/kf5 ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /usr/lib/qt5/bin/. ++ new_PATH=/home/bruno/coreutils-9.10.289-a8598/build/src:/usr/local/bin:/usr/bin:/bin:/usr/lib/libexec/kf5:/usr/lib/qt5/bin ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /sbin/. ++ new_PATH=/home/bruno/coreutils-9.10.289-a8598/build/src:/usr/local/bin:/usr/bin:/bin:/usr/lib/libexec/kf5:/usr/lib/qt5/bin:/sbin ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /usr/sbin/. ++ new_PATH=/home/bruno/coreutils-9.10.289-a8598/build/src:/usr/local/bin:/usr/bin:/bin:/usr/lib/libexec/kf5:/usr/lib/qt5/bin:/sbin:/usr/sbin ++ IFS=' ' ++ PATH=/home/bruno/coreutils-9.10.289-a8598/build/src:/usr/local/bin:/usr/bin:/bin:/usr/lib/libexec/kf5:/usr/lib/qt5/bin:/sbin:/usr/sbin ++ export PATH ++ trap remove_tmp_ EXIT + path_prepend_ ./src + test 1 '!=' 0 + path_dir_=./src + case $path_dir_ in + abs_path_dir_=/home/bruno/coreutils-9.10.289-a8598/build/./src + case $abs_path_dir_ in + PATH=/home/bruno/coreutils-9.10.289-a8598/build/./src:/home/bruno/coreutils-9.10.289-a8598/build/src:/usr/local/bin:/usr/bin:/bin:/usr/lib/libexec/kf5:/usr/lib/qt5/bin:/sbin:/usr/sbin + create_exe_shims_ /home/bruno/coreutils-9.10.289-a8598/build/./src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ cksum + require_built_ cksum + skip_=no + for i in "$@" + case " $built_programs " in + test no = yes + test yes = yes + local i + for i in $* + env cksum --version cksum (GNU coreutils) 9.10.289-a8598 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 Padraig Brady and Q. Frank Xia. + 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=2147483647 LONG_OFLOW=2147483648 LONG_MIN=-2147483648 LONG_UFLOW=-2147483649 ULONG_MAX=4294967295 ULONG_OFLOW=4294967296 SIZE_MAX=4294967295 SIZE_OFLOW=4294967296 SSIZE_MAX=2147483647 SSIZE_OFLOW=2147483648 SSIZE_MIN=-2147483648 SSIZE_UFLOW=-2147483649 TIME_T_MAX=2147483647 TIME_T_OFLOW=2147483648 TIME_T_MIN=-2147483648 TIME_T_UFLOW=-2147483649 UID_T_MAX=4294967295 UID_T_OFLOW=4294967296 GID_T_MAX=4294967295 GID_T_OFLOW=4294967296 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 OFF64_T_MAX=9223372036854775807 OFF64_T_OFLOW=9223372036854775808 OFF64_T_MIN=-9223372036854775808 OFF64_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 SIGRTMIN=34 SIGRTMAX=64 IO_BUFSIZE=262144 'EDOM='\''Numerical' argument out of 'domain'\''' 'EILSEQ='\''Invalid' or incomplete multibyte or wide 'character'\''' 'ERANGE='\''Numerical' result out of 'range'\''' 'E2BIG='\''Argument' list too 'long'\''' 'EACCES='\''Permission' 'denied'\''' 'EADDRINUSE='\''Address' already in 'use'\''' 'EADDRNOTAVAIL='\''Cannot' assign requested 'address'\''' 'EAFNOSUPPORT='\''Address' family not supported by 'protocol'\''' 'EAGAIN='\''Resource' temporarily 'unavailable'\''' 'EALREADY='\''Operation' already in 'progress'\''' 'EBADF='\''Bad' file 'descriptor'\''' 'EBADMSG='\''Bad' 'message'\''' 'EBUSY='\''Device' or resource 'busy'\''' 'ECANCELED='\''Operation' 'canceled'\''' 'ECHILD='\''No' child 'processes'\''' 'ECONNABORTED='\''Software' caused connection 'abort'\''' 'ECONNREFUSED='\''Connection' 'refused'\''' 'ECONNRESET='\''Connection' reset by 'peer'\''' 'EDEADLK='\''Resource' deadlock 'avoided'\''' 'EDESTADDRREQ='\''Destination' address 'required'\''' 'EDQUOT='\''Disk' quota 'exceeded'\''' 'EEXIST='\''File' 'exists'\''' 'EFAULT='\''Bad' 'address'\''' 'EFBIG='\''File' too 'large'\''' 'EHOSTUNREACH='\''No' route to 'host'\''' 'EIDRM='\''Identifier' 'removed'\''' 'EINPROGRESS='\''Operation' now in 'progress'\''' 'EINTR='\''Interrupted' system 'call'\''' 'EINVAL='\''Invalid' 'argument'\''' 'EIO='\''Input/output' 'error'\''' 'EISCONN='\''Transport' endpoint is already 'connected'\''' 'EISDIR='\''Is' a 'directory'\''' 'ELOOP='\''Too' many levels of symbolic 'links'\''' 'EMFILE='\''Too' many open 'files'\''' 'EMLINK='\''Too' many 'links'\''' 'EMSGSIZE='\''Message' too 'long'\''' 'EMULTIHOP='\''Multihop' 'attempted'\''' 'ENAMETOOLONG='\''File' name too 'long'\''' 'ENETDOWN='\''Network' is 'down'\''' 'ENETRESET='\''Network' dropped connection on 'reset'\''' 'ENETUNREACH='\''Network' is 'unreachable'\''' 'ENFILE='\''Too' many open files in 'system'\''' 'ENOBUFS='\''No' buffer space 'available'\''' 'ENODATA='\''No' data 'available'\''' 'ENODEV='\''No' such 'device'\''' 'ENOENT='\''No' such file or 'directory'\''' 'ENOEXEC='\''Exec' format 'error'\''' 'ENOLCK='\''No' locks 'available'\''' 'ENOLINK='\''Link' has been 'severed'\''' 'ENOMEM='\''Cannot' allocate 'memory'\''' 'ENOMSG='\''No' message of desired 'type'\''' 'ENOPROTOOPT='\''Protocol' not 'available'\''' 'ENOSPC='\''No' space left on 'device'\''' 'ENOSR='\''Out' of streams 'resources'\''' 'ENOSTR='\''Device' not a 'stream'\''' 'ENOSYS='\''Function' not 'implemented'\''' 'ENOTCONN='\''Transport' endpoint is not 'connected'\''' 'ENOTDIR='\''Not' a 'directory'\''' 'ENOTEMPTY='\''Directory' not 'empty'\''' 'ENOTRECOVERABLE='\''State' not 'recoverable'\''' 'ENOTSOCK='\''Socket' operation on 'non-socket'\''' 'ENOTTY='\''Inappropriate' ioctl for 'device'\''' 'ENXIO='\''No' such device or 'address'\''' 'EOPNOTSUPP='\''Operation' not 'supported'\''' 'EOVERFLOW='\''Value' too large for defined data 'type'\''' 'EOWNERDEAD='\''Owner' 'died'\''' 'EPERM='\''Operation' not 'permitted'\''' 'EPIPE='\''Broken' 'pipe'\''' 'EPROTO='\''Protocol' 'error'\''' 'EPROTONOSUPPORT='\''Protocol' not 'supported'\''' 'EPROTOTYPE='\''Protocol' wrong type for 'socket'\''' 'EROFS='\''Read-only' file 'system'\''' 'ESOCKTNOSUPPORT='\''Socket' type not 'supported'\''' 'ESPIPE='\''Illegal' 'seek'\''' 'ESRCH='\''No' such 'process'\''' 'ESTALE='\''Stale' file 'handle'\''' 'ETIME='\''Timer' 'expired'\''' 'ETIMEDOUT='\''Connection' timed 'out'\''' 'ETXTBSY='\''Text' file 'busy'\''' 'EXDEV='\''Invalid' cross-device 'link'\''' 'EADV='\''Advertise' 'error'\''' 'EBADE='\''Invalid' 'exchange'\''' 'EBADFD='\''File' descriptor in bad 'state'\''' 'EBADR='\''Invalid' request 'descriptor'\''' 'EBADRQC='\''Invalid' request 'code'\''' 'EBADSLT='\''Invalid' 'slot'\''' 'EBFONT='\''Bad' font file 'format'\''' 'ECHRNG='\''Channel' number out of 'range'\''' 'ECOMM='\''Communication' error on 'send'\''' 'EDOTDOT='\''RFS' specific 'error'\''' 'EHOSTDOWN='\''Host' is 'down'\''' 'EHWPOISON='\''Memory' page has hardware 'error'\''' 'EISNAM='\''Is' a named type 'file'\''' 'EKEYEXPIRED='\''Key' has 'expired'\''' 'EKEYREJECTED='\''Key' was rejected by 'service'\''' 'EKEYREVOKED='\''Key' has been 'revoked'\''' 'EL2HLT='\''Level' 2 'halted'\''' 'EL2NSYNC='\''Level' 2 not 'synchronized'\''' 'EL3HLT='\''Level' 3 'halted'\''' 'EL3RST='\''Level' 3 'reset'\''' 'ELIBACC='\''Can' not access a needed shared 'library'\''' 'ELIBBAD='\''Accessing' a corrupted shared 'library'\''' 'ELIBEXEC='\''Cannot' exec a shared library 'directly'\''' 'ELIBMAX='\''Attempting' to link in too many shared 'libraries'\''' 'ELIBSCN='\''.lib' section in a.out 'corrupted'\''' 'ELNRNG='\''Link' number out of 'range'\''' 'EMEDIUMTYPE='\''Wrong' medium 'type'\''' 'ENAVAIL='\''No' XENIX semaphores 'available'\''' 'ENOANO='\''No' 'anode'\''' 'ENOCSI='\''No' CSI structure 'available'\''' 'ENOKEY='\''Required' key not 'available'\''' 'ENOMEDIUM='\''No' medium 'found'\''' 'ENONET='\''Machine' is not on the 'network'\''' 'ENOPKG='\''Package' not 'installed'\''' 'ENOTBLK='\''Block' device 'required'\''' 'ENOTNAM='\''Not' a XENIX named type 'file'\''' 'ENOTUNIQ='\''Name' not unique on 'network'\''' 'EPFNOSUPPORT='\''Protocol' family not 'supported'\''' 'EREMCHG='\''Remote' address 'changed'\''' 'EREMOTE='\''Object' is 'remote'\''' 'EREMOTEIO='\''Remote' I/O 'error'\''' 'ERESTART='\''Interrupted' system call should be 'restarted'\''' 'ERFKILL='\''Operation' not possible due to 'RF-kill'\''' 'ESHUTDOWN='\''Cannot' send after transport endpoint 'shutdown'\''' 'ESRMNT='\''Srmount' 'error'\''' 'ESTRPIPE='\''Streams' pipe 'error'\''' 'ETOOMANYREFS='\''Too' many references: cannot 'splice'\''' 'EUCLEAN='\''Structure' needs 'cleaning'\''' 'EUNATCH='\''Protocol' driver not 'attached'\''' 'EUSERS='\''Too' many 'users'\''' 'EXFULL='\''Exchange' 'full'\''' 'ENOTSUP='\''Operation' not 'supported'\''' 'EWOULDBLOCK='\''Resource' temporarily 'unavailable'\''' 'EDEADLOCK='\''Resource' deadlock 'avoided'\''' ++ 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=2147483647 ++ LONG_OFLOW=2147483648 ++ LONG_MIN=-2147483648 ++ LONG_UFLOW=-2147483649 ++ ULONG_MAX=4294967295 ++ ULONG_OFLOW=4294967296 ++ SIZE_MAX=4294967295 ++ SIZE_OFLOW=4294967296 ++ SSIZE_MAX=2147483647 ++ SSIZE_OFLOW=2147483648 ++ SSIZE_MIN=-2147483648 ++ SSIZE_UFLOW=-2147483649 ++ TIME_T_MAX=2147483647 ++ TIME_T_OFLOW=2147483648 ++ TIME_T_MIN=-2147483648 ++ TIME_T_UFLOW=-2147483649 ++ UID_T_MAX=4294967295 ++ UID_T_OFLOW=4294967296 ++ GID_T_MAX=4294967295 ++ GID_T_OFLOW=4294967296 ++ 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 ++ OFF64_T_MAX=9223372036854775807 ++ OFF64_T_OFLOW=9223372036854775808 ++ OFF64_T_MIN=-9223372036854775808 ++ OFF64_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 ++ SIGRTMIN=34 ++ SIGRTMAX=64 ++ IO_BUFSIZE=262144 ++ EDOM='Numerical argument out of domain' ++ EILSEQ='Invalid or incomplete multibyte or wide character' ++ ERANGE='Numerical result out of range' ++ E2BIG='Argument list too long' ++ EACCES='Permission denied' ++ EADDRINUSE='Address already in use' ++ EADDRNOTAVAIL='Cannot assign requested address' ++ EAFNOSUPPORT='Address family not supported by protocol' ++ EAGAIN='Resource temporarily unavailable' ++ EALREADY='Operation already in progress' ++ EBADF='Bad file descriptor' ++ EBADMSG='Bad message' ++ EBUSY='Device or resource busy' ++ ECANCELED='Operation canceled' ++ ECHILD='No child processes' ++ ECONNABORTED='Software caused connection abort' ++ ECONNREFUSED='Connection refused' ++ ECONNRESET='Connection reset by peer' ++ EDEADLK='Resource deadlock avoided' ++ EDESTADDRREQ='Destination address required' ++ EDQUOT='Disk quota exceeded' ++ EEXIST='File exists' ++ EFAULT='Bad address' ++ EFBIG='File too large' ++ EHOSTUNREACH='No route to host' ++ EIDRM='Identifier removed' ++ EINPROGRESS='Operation now in progress' ++ EINTR='Interrupted system call' ++ EINVAL='Invalid argument' ++ EIO='Input/output error' ++ EISCONN='Transport endpoint is already connected' ++ EISDIR='Is a directory' ++ ELOOP='Too many levels of symbolic links' ++ EMFILE='Too many open files' ++ EMLINK='Too many links' ++ EMSGSIZE='Message too long' ++ EMULTIHOP='Multihop attempted' ++ ENAMETOOLONG='File name too long' ++ ENETDOWN='Network is down' ++ ENETRESET='Network dropped connection on reset' ++ ENETUNREACH='Network is unreachable' ++ ENFILE='Too many open files in system' ++ ENOBUFS='No buffer space available' ++ ENODATA='No data available' ++ ENODEV='No such device' ++ ENOENT='No such file or directory' ++ ENOEXEC='Exec format error' ++ ENOLCK='No locks available' ++ ENOLINK='Link has been severed' ++ ENOMEM='Cannot allocate memory' ++ ENOMSG='No message of desired type' ++ ENOPROTOOPT='Protocol not available' ++ ENOSPC='No space left on device' ++ ENOSR='Out of streams resources' ++ ENOSTR='Device not a stream' ++ ENOSYS='Function not implemented' ++ ENOTCONN='Transport endpoint is not connected' ++ ENOTDIR='Not a directory' ++ ENOTEMPTY='Directory not empty' ++ ENOTRECOVERABLE='State not recoverable' ++ ENOTSOCK='Socket operation on non-socket' ++ ENOTTY='Inappropriate ioctl for device' ++ ENXIO='No such device or address' ++ EOPNOTSUPP='Operation not supported' ++ EOVERFLOW='Value too large for defined data type' ++ EOWNERDEAD='Owner died' ++ EPERM='Operation not permitted' ++ EPIPE='Broken pipe' ++ EPROTO='Protocol error' ++ EPROTONOSUPPORT='Protocol not supported' ++ EPROTOTYPE='Protocol wrong type for socket' ++ EROFS='Read-only file system' ++ ESOCKTNOSUPPORT='Socket type not supported' ++ ESPIPE='Illegal seek' ++ ESRCH='No such process' ++ ESTALE='Stale file handle' ++ ETIME='Timer expired' ++ ETIMEDOUT='Connection timed out' ++ ETXTBSY='Text file busy' ++ EXDEV='Invalid cross-device link' ++ EADV='Advertise error' ++ EBADE='Invalid exchange' ++ EBADFD='File descriptor in bad state' ++ EBADR='Invalid request descriptor' ++ EBADRQC='Invalid request code' ++ EBADSLT='Invalid slot' ++ EBFONT='Bad font file format' ++ ECHRNG='Channel number out of range' ++ ECOMM='Communication error on send' ++ EDOTDOT='RFS specific error' ++ EHOSTDOWN='Host is down' ++ EHWPOISON='Memory page has hardware error' ++ EISNAM='Is a named type file' ++ EKEYEXPIRED='Key has expired' ++ EKEYREJECTED='Key was rejected by service' ++ EKEYREVOKED='Key has been revoked' ++ EL2HLT='Level 2 halted' ++ EL2NSYNC='Level 2 not synchronized' ++ EL3HLT='Level 3 halted' ++ EL3RST='Level 3 reset' ++ ELIBACC='Can not access a needed shared library' ++ ELIBBAD='Accessing a corrupted shared library' ++ ELIBEXEC='Cannot exec a shared library directly' ++ ELIBMAX='Attempting to link in too many shared libraries' ++ ELIBSCN='.lib section in a.out corrupted' ++ ELNRNG='Link number out of range' ++ EMEDIUMTYPE='Wrong medium type' ++ ENAVAIL='No XENIX semaphores available' ++ ENOANO='No anode' ++ ENOCSI='No CSI structure available' ++ ENOKEY='Required key not available' ++ ENOMEDIUM='No medium found' ++ ENONET='Machine is not on the network' ++ ENOPKG='Package not installed' ++ ENOTBLK='Block device required' ++ ENOTNAM='Not a XENIX named type file' ++ ENOTUNIQ='Name not unique on network' ++ EPFNOSUPPORT='Protocol family not supported' ++ EREMCHG='Remote address changed' ++ EREMOTE='Object is remote' ++ EREMOTEIO='Remote I/O error' ++ ERESTART='Interrupted system call should be restarted' ++ ERFKILL='Operation not possible due to RF-kill' ++ ESHUTDOWN='Cannot send after transport endpoint shutdown' ++ ESRMNT='Srmount error' ++ ESTRPIPE='Streams pipe error' ++ ETOOMANYREFS='Too many references: cannot splice' ++ EUCLEAN='Structure needs cleaning' ++ EUNATCH='Protocol driver not attached' ++ EUSERS='Too many users' ++ EXFULL='Exchange full' ++ ENOTSUP='Operation not supported' ++ EWOULDBLOCK='Resource temporarily unavailable' ++ EDEADLOCK='Resource deadlock avoided' + test 2147483647 + for prog in 'b2sum' 'cksum -a blake2b' + '[' b2sum = b2sum ']' + b2sum --version b2sum (GNU coreutils) 9.10.289-a8598 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 Padraig Brady and Samuel Neves. + rm -f check.b2sum + '[' b2sum = b2sum ']' + tag_opt=--tag + for i in 'a' ' b' '*c' '44' ' ' + echo a + for l in 0 128 + b2sum -l 0 --tag a + for l in 0 128 + b2sum -l 128 --tag a + for i in 'a' ' b' '*c' '44' ' ' + echo ' b' + for l in 0 128 + b2sum -l 0 --tag ' b' + for l in 0 128 + b2sum -l 128 --tag ' b' + for i in 'a' ' b' '*c' '44' ' ' + echo '*c' + for l in 0 128 + b2sum -l 0 --tag '*c' + for l in 0 128 + b2sum -l 128 --tag '*c' + for i in 'a' ' b' '*c' '44' ' ' + echo 44 + for l in 0 128 + b2sum -l 0 --tag 44 + for l in 0 128 + b2sum -l 128 --tag 44 + for i in 'a' ' b' '*c' '44' ' ' + echo ' ' + for l in 0 128 + b2sum -l 0 --tag ' ' + for l in 0 128 + b2sum -l 128 --tag ' ' + b2sum --strict -c check.b2sum a: OK a: OK ' b': OK ' b': OK '*c': OK '*c': OK 44: OK 44: OK ' ': OK ' ': OK + sed 's/ //; s/ =/=/' + b2sum --strict -c openssl.b2sum a: OK a: OK ' b': OK ' b': OK '*c': OK '*c': OK 44: OK 44: OK ' ': OK ' ': OK + rm -f check.vals + '[' b2sum '!=' b2sum ']' + tag_opt= + for l in 0 128 + tee -a check.vals + b2sum --text -l 0 /dev/null + b2sum -l 0 --strict -c check.b2sum /dev/null: OK + b2sum --strict -c check.b2sum /dev/null: OK + for l in 0 128 + tee -a check.vals + b2sum --text -l 128 /dev/null + b2sum -l 128 --strict -c check.b2sum /dev/null: OK + b2sum --strict -c check.b2sum /dev/null: OK + '[' b2sum '!=' b2sum ']' + tag_opt= + b2sum --length=128 check.vals + tr '*' ' ' + printf '%s\n' '796485dd32fe9b754ea5fd6c721271d9 check.vals' + 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 + printf '%s\n' BLAKE2 BLAKE2b BLAKE2- 'BLAKE2(' 'BLAKE2 (' + returns_ 1 b2sum -c crash.check b2sum: crash.check: no properly formatted checksum lines found + printf 0A0BA0 + returns_ 1 b2sum -c overflow.check b2sum: overflow.check: no properly formatted checksum lines found + b2sum -l 123 -l 128 /dev/null cae66941d9efbd404e4d88758ea67670 /dev/null + for len in 513 1024 $UINTMAX_OFLOW + returns_ 1 b2sum -l 513 /dev/null ++ cut -f1 '-d ' ++ echo b2sum + progname=b2sum + cat + compare exp err + compare_dev_null_ exp err + test 2 = 2 + test xexp = x/dev/null + test xerr = x/dev/null + return 2 + case $? in + compare_ exp err + LC_ALL=C + diff -u exp err + for len in 513 1024 $UINTMAX_OFLOW + returns_ 1 b2sum -l 1024 /dev/null ++ cut -f1 '-d ' ++ echo b2sum + progname=b2sum + cat + compare exp err + compare_dev_null_ exp err + test 2 = 2 + test xexp = x/dev/null + test xerr = x/dev/null + return 2 + case $? in + compare_ exp err + LC_ALL=C + diff -u exp err + for len in 513 1024 $UINTMAX_OFLOW + returns_ 1 b2sum -l 18446744073709551616 /dev/null ++ cut -f1 '-d ' ++ echo b2sum + progname=b2sum + cat + compare exp err + compare_dev_null_ exp err + test 2 = 2 + test xexp = x/dev/null + test xerr = x/dev/null + return 2 + case $? in + compare_ exp err + LC_ALL=C + diff -u exp err --- exp 2026-04-16 16:09:39.695017885 +0200 +++ err 2026-04-16 16:09:39.693017885 +0200 @@ -1,2 +1,2 @@ b2sum: invalid length: '18446744073709551616' -b2sum: maximum digest length for 'BLAKE2b' is 512 bits +b2sum: length is not a multiple of 8 + fail=1 + for prog in 'b2sum' 'cksum -a blake2b' + '[' 'cksum -a blake2b' = b2sum ']' + rm -f check.b2sum + '[' 'cksum -a blake2b' = b2sum ']' + tag_opt= + for i in 'a' ' b' '*c' '44' ' ' + echo a + for l in 0 128 + cksum -a blake2b -l 0 a + for l in 0 128 + cksum -a blake2b -l 128 a + for i in 'a' ' b' '*c' '44' ' ' + echo ' b' + for l in 0 128 + cksum -a blake2b -l 0 ' b' + for l in 0 128 + cksum -a blake2b -l 128 ' b' + for i in 'a' ' b' '*c' '44' ' ' + echo '*c' + for l in 0 128 + cksum -a blake2b -l 0 '*c' + for l in 0 128 + cksum -a blake2b -l 128 '*c' + for i in 'a' ' b' '*c' '44' ' ' + echo 44 + for l in 0 128 + cksum -a blake2b -l 0 44 + for l in 0 128 + cksum -a blake2b -l 128 44 + for i in 'a' ' b' '*c' '44' ' ' + echo ' ' + for l in 0 128 + cksum -a blake2b -l 0 ' ' + for l in 0 128 + cksum -a blake2b -l 128 ' ' + cksum -a blake2b --strict -c check.b2sum a: OK a: OK ' b': OK ' b': OK '*c': OK '*c': OK 44: OK 44: OK ' ': OK ' ': OK + sed 's/ //; s/ =/=/' + cksum -a blake2b --strict -c openssl.b2sum a: OK a: OK ' b': OK ' b': OK '*c': OK '*c': OK 44: OK 44: OK ' ': OK ' ': OK + rm -f check.vals + '[' 'cksum -a blake2b' '!=' b2sum ']' + tag_opt=--untagged + for l in 0 128 + tee -a check.vals + cksum -a blake2b --untagged --text -l 0 /dev/null + cksum -a blake2b -l 0 --strict -c check.b2sum /dev/null: OK + cksum -a blake2b --strict -c check.b2sum /dev/null: OK + for l in 0 128 + tee -a check.vals + cksum -a blake2b --untagged --text -l 128 /dev/null + cksum -a blake2b -l 128 --strict -c check.b2sum /dev/null: OK + cksum -a blake2b --strict -c check.b2sum /dev/null: OK + '[' 'cksum -a blake2b' '!=' b2sum ']' + tag_opt=--untagged + cksum -a blake2b --untagged --length=128 check.vals + tr '*' ' ' + printf '%s\n' '796485dd32fe9b754ea5fd6c721271d9 check.vals' + 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 + printf '%s\n' BLAKE2 BLAKE2b BLAKE2- 'BLAKE2(' 'BLAKE2 (' + returns_ 1 cksum -a blake2b -c crash.check cksum: crash.check: no properly formatted checksum lines found + printf 0A0BA0 + returns_ 1 cksum -a blake2b -c overflow.check cksum: overflow.check: no properly formatted checksum lines found + cksum -a blake2b -l 123 -l 128 /dev/null BLAKE2b-128 (/dev/null) = cae66941d9efbd404e4d88758ea67670 + for len in 513 1024 $UINTMAX_OFLOW + returns_ 1 cksum -a blake2b -l 513 /dev/null ++ cut -f1 '-d ' ++ echo 'cksum -a blake2b' + progname=cksum + cat + compare exp err + compare_dev_null_ exp err + test 2 = 2 + test xexp = x/dev/null + test xerr = x/dev/null + return 2 + case $? in + compare_ exp err + LC_ALL=C + diff -u exp err + for len in 513 1024 $UINTMAX_OFLOW + returns_ 1 cksum -a blake2b -l 1024 /dev/null ++ cut -f1 '-d ' ++ echo 'cksum -a blake2b' + progname=cksum + cat + compare exp err + compare_dev_null_ exp err + test 2 = 2 + test xexp = x/dev/null + test xerr = x/dev/null + return 2 + case $? in + compare_ exp err + LC_ALL=C + diff -u exp err + for len in 513 1024 $UINTMAX_OFLOW + returns_ 1 cksum -a blake2b -l 18446744073709551616 /dev/null ++ cut -f1 '-d ' ++ echo 'cksum -a blake2b' + progname=cksum + cat + compare exp err + compare_dev_null_ exp err + test 2 = 2 + test xexp = x/dev/null + test xerr = x/dev/null + return 2 + case $? in + compare_ exp err + LC_ALL=C + diff -u exp err --- exp 2026-04-16 16:09:39.747017887 +0200 +++ err 2026-04-16 16:09:39.745017887 +0200 @@ -1,2 +1,2 @@ cksum: invalid length: '18446744073709551616' -cksum: maximum digest length for 'BLAKE2b' is 512 bits +cksum: length is not a multiple of 8 + fail=1 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + test '' = yes + cd /home/bruno/coreutils-9.10.289-a8598/build + chmod -R u+rwx /home/bruno/coreutils-9.10.289-a8598/build/gt-b2sum.sh.eS8K + rm -rf /home/bruno/coreutils-9.10.289-a8598/build/gt-b2sum.sh.eS8K + exit 1 FAIL tests/cksum/b2sum.sh (exit status: 1)
