]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
add test for zstdcat and zcat on symlink 1604/head
authorcev <charles.vejnar@gmail.com>
Mon, 29 Apr 2019 22:47:47 +0000 (18:47 -0400)
committercev <charles.vejnar@gmail.com>
Mon, 29 Apr 2019 22:47:47 +0000 (18:47 -0400)
tests/playTests.sh

index bce2710159eddb961a11b3ed61330b0407ec2330..e139f7ad8ea16109e292ea5f96f156298d514098 100755 (executable)
@@ -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"