aboutsummaryrefslogtreecommitdiff
path: root/tests/lz4/testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lz4/testscript')
-rw-r--r--tests/lz4/testscript15
1 files changed, 11 insertions, 4 deletions
diff --git a/tests/lz4/testscript b/tests/lz4/testscript
index 1806c94..b064cff 100644
--- a/tests/lz4/testscript
+++ b/tests/lz4/testscript
@@ -2,7 +2,8 @@
# license : MIT; see accompanying LICENSE file
+touch zero
-+echo 'The quick brown fox jumps over the lazy dog.' >=small
++cat <:'1' >=one
++cat <'The quick brown fox jumps over the lazy dog.' >=small
+cat <<EOI >=1kb
The quick brown fox jumps over the lazy dog. The quick brown fox jumps over
the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox
@@ -29,6 +30,12 @@ $* -c ../zero zero.lz4 &zero.lz4;
$* -d zero.lz4 zero &zero;
diff ../zero zero
+: rt-one
+:
+$* -c ../one one.lz4 &one.lz4;
+$* -d one.lz4 one &one;
+diff ../one one
+
: rt-small
:
$* -c ../small small.lz4 &small.lz4;
@@ -62,17 +69,17 @@ diff ../512kb 512kb
: truncated-header6
:
$* -d $src_base/truncated-header6.lz4 out &out 2>>EOE !=0
-incomplete frame header
+incomplete LZ4 frame header
EOE
: truncated-header12
:
$* -d $src_base/truncated-header12.lz4 out &out 2>>EOE !=0
-incomplete frame header
+incomplete LZ4 frame header
EOE
: truncated-content
:
$* -d $src_base/truncated-content.lz4 out &out 2>>EOE !=0
-incomplete compressed content
+incomplete LZ4 compressed content
EOE