mirror of
https://github.com/facebook/zstd.git
synced 2025-10-07 00:12:40 -04:00
playtests: do not use cat on large files
some target have limitation making cat incompatible with large files (namely debian hurd-i386)
This commit is contained in:
parent
ba55dc8b5e
commit
4252621e26
@ -43,7 +43,7 @@ fileRoundTripTest() {
|
||||
rm -f tmp.zstd tmp.md5.1 tmp.md5.2
|
||||
$ECHO "fileRoundTripTest: ./datagen $1 $local_p > tmp && $ZSTD -v$local_c -c tmp | $ZSTD -d$local_d"
|
||||
./datagen $1 $local_p > tmp
|
||||
cat tmp | $MD5SUM > tmp.md5.1
|
||||
< tmp $MD5SUM > tmp.md5.1
|
||||
$ZSTD --ultra -v$local_c -c tmp | $ZSTD -d$local_d | $MD5SUM > tmp.md5.2
|
||||
$DIFF -q tmp.md5.1 tmp.md5.2
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user