GNU bug report logs - #77800
grep-3.12: write-error-msg test failure on fedora rawhide (f43)

Previous Next

Package: grep;

Reported by: Jaroslav Škarvada <jskarvad <at> redhat.com>

Date: Mon, 14 Apr 2025 12:56:01 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 77800 <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: Jaroslav Škarvada <jskarvad <at> redhat.com>
Cc: 77800 <at> debbugs.gnu.org
Subject: Re: bug#77800: grep-3.12: write-error-msg test failure on fedora
 rawhide (f43)
Date: Mon, 14 Apr 2025 12:32:36 -0700
On Mon, Apr 14, 2025 at 5:56 AM Jaroslav Škarvada via Bug reports for
GNU grep <bug-grep <at> 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)




This bug report was last modified 7 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.