mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-02-11 01:42:17 +02:00
tests: avoid a hang on GNU/Hurd from 2019
* tests/du/8gb.sh: Add a timeout around: `dd bs=1 seek=8G of=big < /dev/null`
This commit is contained in:
@@ -21,7 +21,8 @@
|
||||
print_ver_ du
|
||||
require_sparse_support_
|
||||
|
||||
dd bs=1 seek=8G of=big < /dev/null 2> /dev/null
|
||||
# timeout to avoid hang on GNU/Hurd from 2019
|
||||
timeout 10 dd bs=1 seek=8G of=big < /dev/null 2> /dev/null
|
||||
if test $? != 0; then
|
||||
skip_ 'cannot create a file large enough for this test; possibly
|
||||
because file offsets are only 32 bits on this file system'
|
||||
|
||||
Reference in New Issue
Block a user