mirror of
https://github.com/facebook/zstd.git
synced 2025-10-08 00:04:02 -04:00
add test for zstdcat and zcat on symlink
This commit is contained in:
parent
c4a40dbf65
commit
3e1e49d775
@ -304,12 +304,17 @@ $ECHO "testing zstdcat symlink"
|
||||
ln -sf $ZSTD zstdcat
|
||||
./zstdcat helloworld.zstd > result.tmp
|
||||
$DIFF helloworld.tmp result.tmp
|
||||
ln -s helloworld.zstd helloworld.link.zstd
|
||||
./zstdcat helloworld.link.zstd > result.tmp
|
||||
$DIFF helloworld.tmp result.tmp
|
||||
rm zstdcat
|
||||
rm result.tmp
|
||||
$ECHO "testing zcat symlink"
|
||||
ln -sf $ZSTD zcat
|
||||
./zcat helloworld.zstd > result.tmp
|
||||
$DIFF helloworld.tmp result.tmp
|
||||
./zcat helloworld.link.zstd > result.tmp
|
||||
$DIFF helloworld.tmp result.tmp
|
||||
rm zcat
|
||||
rm ./*.tmp ./*.zstd
|
||||
$ECHO "frame concatenation tests completed"
|
||||
|
Loading…
x
Reference in New Issue
Block a user