]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Using a number instead of M prefix in head call 1773/head
authorBimba Shrestha <bshrestha.msae@gmail.com>
Tue, 10 Sep 2019 16:30:37 +0000 (09:30 -0700)
committerBimba Shrestha <bshrestha.msae@gmail.com>
Tue, 10 Sep 2019 16:30:37 +0000 (09:30 -0700)
tests/playTests.sh

index 5d9373a095f5b4a475dadb8a4556692e151c7c3e..3b74ed22b4156ed0024bca8e9ae7f2df1174e494 100755 (executable)
@@ -243,7 +243,7 @@ test -f tmp.zst  # destination file should still be present
 rm tmp*
 
 println "\n===> decompression only tests "
-head -c 1M /dev/zero > tmp
+head -c 1048576 /dev/zero > tmp
 $ZSTD -d -o tmp1 "$TESTDIR/golden-decompression/rle-first-block.zst"
 $DIFF -s tmp1 tmp
 rm tmp*