Subject: bug#74426: tests/dd/skip-seek-past-file failure on macOS

From: Grisha Levit <[email-masked]>
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