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


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




This bug report was last modified 151 days ago.

Previous Next


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