From: cev Date: Mon, 29 Apr 2019 22:47:47 +0000 (-0400) Subject: add test for zstdcat and zcat on symlink X-Git-Tag: v1.4.1^2~46^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e1e49d7752fae634df1690185718ee1a1ebb0d6;p=thirdparty%2Fzstd.git add test for zstdcat and zcat on symlink --- diff --git a/tests/playTests.sh b/tests/playTests.sh index bce271015..e139f7ad8 100755 --- a/tests/playTests.sh +++ b/tests/playTests.sh @@ -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"