summaryrefslogtreecommitdiffstats
path: root/testsuite/check.sh
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 11:47:51 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 11:47:51 +0000
commitad007a823db86999041af5a472f834ab35f05696 (patch)
tree3ba086f538cc80cb079c5bbae2b92ec2ad63277f /testsuite/check.sh
parentAdding upstream version 1.16~pre2. (diff)
downloadlziprecover-ad007a823db86999041af5a472f834ab35f05696.tar.xz
lziprecover-ad007a823db86999041af5a472f834ab35f05696.zip
Adding upstream version 1.16~rc1.upstream/1.16_rc1
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'testsuite/check.sh')
-rwxr-xr-xtestsuite/check.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/check.sh b/testsuite/check.sh
index 21da2a8..9ef8971 100755
--- a/testsuite/check.sh
+++ b/testsuite/check.sh
@@ -24,7 +24,7 @@ cd "${objdir}"/tmp
cat "${testdir}"/test.txt > in || framework_failure
in_lz="${testdir}"/test.txt.lz
-inD="${testdir}"/test921-1921.txt
+inD="${testdir}"/test21723.txt
fox5_lz="${testdir}"/fox5.lz
f5b1="${testdir}"/fox5_bad1.txt
f5b1_lz="${testdir}"/fox5_bad1.lz
@@ -49,7 +49,7 @@ fail=0
# fox5_bad3.lz: [100-299] --> zeroed;
# fox5_bad4.lz: [250-349] --> zeroed;
# fox5_bad5.lz: [300-399] --> zeroed;
-# test_bad1.lz: byte at offset 67 changed from 0xCC to 0x33
+# test_bad1.lz: byte at offset 67 changed from 0x70 to 0x79
# test_bad2.lz: [ 34- 65] --> copy of bytes [ 68- 99]
# test_bad3.lz: [ 512-1535] --> zeroed; [2560-3583] --> zeroed
# test_bad4.lz: [3072-4095] --> random data; [4608-5631] --> zeroed
@@ -116,9 +116,9 @@ printf "to be overwritten" > copy2 || framework_failure
cmp in2 copy2 || fail=1
printf .
-"${LZIPRECOVER}" -D 921-1921 -fo copy "${in_lz}" || fail=1
+"${LZIPRECOVER}" -D 21723-22120 -fo copy "${in_lz}" || fail=1
cmp "${inD}" copy || fail=1
-"${LZIPRECOVER}" -D 921,1000 "${in_lz}" > copy || fail=1
+"${LZIPRECOVER}" -D 21723,397 "${in_lz}" > copy || fail=1
cmp "${inD}" copy || fail=1
printf .
"${LZIPRECOVER}" -D0 -iq "${f5b1_lz}" -fo copy