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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#74426: closed (tests/dd/skip-seek-past-file failure on macOS)
Date: Sun, 16 Feb 2025 06:40:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 15 Feb 2025 22:38:56 -0800
with message-id <ea6bbfa0-3cc6-49c1-9ba7-65973997d850 <at> cs.ucla.edu>
and subject line Re: tests/dd/skip-seek-past-file failure on macOS
has caused the debbugs.gnu.org bug report #74426,
regarding tests/dd/skip-seek-past-file failure on macOS
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
74426: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74426
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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


[Message part 3 (message/rfc822, inline)]
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 4 (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)]

This bug report was last modified 150 days ago.

Previous Next


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