On Mon, Apr 14, 2025 at 5:56 AM Jaroslav Škarvada via Bug reports for
GNU grep <bug-grep@gnu.org> wrote:
> test log is attached

Hi Jaroslav,
Thanks for testing!

The test that's failing is ensuring that a disk-full write failure
elicits a diagnostic like this:
  grep: write error: No space left on device

On your system, it prints only this:
  grep: write error

Can you run the following and share the strace output file, "out"?
  yes 12345 | head -n 50000 > in
  strace -o out -- grep -q --help >/dev/full

We expect the first write to fail like this:
  write(1, "Usage: grep [OPTION]... PATTERNS"..., 4096) = -1 ENOSPC
(No space left on device)



Reply via email to