GNU bug report logs - #74426
tests/dd/skip-seek-past-file failure on macOS

Previous Next

Package: coreutils;

Reported by: Grisha Levit <grishalevit <at> gmail.com>

Date: Tue, 19 Nov 2024 04:30:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 74426 in the body.
You can then email your comments to 74426 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#74426; Package coreutils. (Tue, 19 Nov 2024 04:30:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Grisha Levit <grishalevit <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Tue, 19 Nov 2024 04:30:03 GMT) Full text and rfc822 format available.

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

From: Grisha Levit <grishalevit <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: tests/dd/skip-seek-past-file failure on macOS
Date: Mon, 18 Nov 2024 23:28:19 -0500
tests/dd/skip-seek-past-file.sh fails on macOS 15 when checking for a
warning being printed when seeking past the max file size [1].

Reproducing outside the test suite:

$ > file
$ dd bs=1 skip=9223372036854775807 count=0 status=noxfer < file
0+0 records in
0+0 records out
$ echo $?
0

Note that if the input is a non-empty file the expected warning _is_ printed:

$ echo > file
$ dd bs=1 skip=9223372036854775807 count=0 status=noxfer < file
dd: 'standard input': cannot skip to specified offset
0+0 records in
0+0 records out
$ echo $?
0

  [1]: https://git.savannah.gnu.org/cgit/coreutils.git/tree/tests/dd/skip-seek-past-file.sh?id=c41ca2814d2ffad5fff9b9526d1be9eb5366d72d#n84




Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Sun, 16 Feb 2025 06:40:02 GMT) Full text and rfc822 format available.

Notification sent to Grisha Levit <grishalevit <at> gmail.com>:
bug acknowledged by developer. (Sun, 16 Feb 2025 06:40:02 GMT) Full text and rfc822 format available.

Message #10 received at 74426-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Grisha Levit <grishalevit <at> gmail.com>
Cc: 74426-done <at> debbugs.gnu.org
Subject: Re: tests/dd/skip-seek-past-file failure on macOS
Date: Sat, 15 Feb 2025 22:38:56 -0800
[Message part 1 (text/plain, inline)]
On 2024-11-18 20:28, Grisha Levit wrote:
> tests/dd/skip-seek-past-file.sh fails on macOS 15 when checking for a
> warning being printed when seeking past the max file size [1].

Thanks, I installed the attached patch a couple of days after your bug 
report, but unfortunately forgot to reply to your email until now. This 
patch appears in coreutils 9.6.
[0001-dd-port-big-offset-test-to-macOS-12.6.patch (text/x-patch, attachment)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 16 Mar 2025 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 114 days ago.

Previous Next


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