mirror of
https://github.com/facebook/zstd.git
synced 2025-10-09 00:05:28 -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
|
ln -sf $ZSTD zstdcat
|
||||||
./zstdcat helloworld.zstd > result.tmp
|
./zstdcat helloworld.zstd > result.tmp
|
||||||
$DIFF helloworld.tmp 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 zstdcat
|
||||||
rm result.tmp
|
rm result.tmp
|
||||||
$ECHO "testing zcat symlink"
|
$ECHO "testing zcat symlink"
|
||||||
ln -sf $ZSTD zcat
|
ln -sf $ZSTD zcat
|
||||||
./zcat helloworld.zstd > result.tmp
|
./zcat helloworld.zstd > result.tmp
|
||||||
$DIFF helloworld.tmp result.tmp
|
$DIFF helloworld.tmp result.tmp
|
||||||
|
./zcat helloworld.link.zstd > result.tmp
|
||||||
|
$DIFF helloworld.tmp result.tmp
|
||||||
rm zcat
|
rm zcat
|
||||||
rm ./*.tmp ./*.zstd
|
rm ./*.tmp ./*.zstd
|
||||||
$ECHO "frame concatenation tests completed"
|
$ECHO "frame concatenation tests completed"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user