mirror of
https://github.com/facebook/zstd.git
synced 2025-12-11 02:02:25 +03:00
add test for zstdcat and zcat on symlink
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user