summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-03-31 17:15:17 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2022-03-31 17:22:49 -0700
commit7ea7357815ce0e187fb1f5480e0715745229c126 (patch)
tree7bbd3f2c861f2ff61e111735dc17af4705cc05ad
parentb87f9617a1783c5f197fc91bad3f6cf7b2197bbf (diff)
downloadgzip-7ea7357815ce0e187fb1f5480e0715745229c126.tar.gz
tests: port list-big test to macOS 12.1
* tests/list-big: Use dd, not truncate, to create a big file.
-rwxr-xr-xtests/list-big2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/list-big b/tests/list-big
index a0aeb75..10cb7c7 100755
--- a/tests/list-big
+++ b/tests/list-big
@@ -19,7 +19,7 @@
. "${srcdir=.}/init.sh"; path_prepend_ ..
-truncate --size 4G big || framework_failure_
+dd bs=65536 seek=65536 if=/dev/null of=big || framework_failure_
gzip -1 big || fail=1
gzip -l big.gz >out || fail=1