On 02/07/2024 02:05, 0xn00dle via GNU coreutils Bug Reports wrote:
Hello,
While running the test for Coreutils during my LFS build (Chapter 8.57
Coreutils-9.4:
https://www.linuxfromscratch.org/lfs/view/12.1/chapter08/coreutils.html), I
encountered a potential bug and the test recommended I report it.
LFS 12.1 Build, on Pop_OS! Host System
Coreutils Verson: 9.4
Kernel: 6.8.0-76060800daily20240311-generic
Architecture: x86_64
It occurred after running:
su tester -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check"
The fail details:
FAIL: tests/tty/tty
===================
--
tty: extra operand 'a'
Try 'tty --help' for more information.
+ returns 2 tty -s a
tty: extra operand 'a'
Try 'tty --help' for more information.
+ test -w /dev/full
+ test -c /dev/full
+ test -t 0
+ returns 3 tty
tty: write error: No space left on device
+ returns 3 tty
tty: write error: No space left on device
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ removetmp
+ _st=1
+ cleanup
+ :
+ test '' = yes
+ cd /sources/coreutils-9.4
+ chmod -R u+rwx /sources/coreutils-9.4/gt-tty.sh.xcFx
+ rm -rf /sources/coreutils-9.4/gt-tty.sh.xcFx
+ exit 1FAIL tests/tty/tty.sh (exit status: 1)
I applied coreutils-9.4-il8n-1.patch and a fix for a vulnerability in the split
utility prior to the test.
Best,
Noelle
I can't repro.
Can you repro this test in isolation with:
su tester -c 'make check VERBOSE=yes TESTS=tests/tty/tty.sh SUBDIRS=.'
Note some of the output of the test seemed to be elided,
so I wasn't able to see exactly the line that failed
(No space left on device is an expected case and not the issue here).
thanks,
Pádraig