Skip to content

Commit 711e3d2

Browse files
committed
test: behavior with different suffix combinations
The test files were created with this script: # cd tests/files/suffixes # clean rm -rf chunks_carve/ extractions/ collisions.zip # reproduce output seq 100 | gzip > 0-160.gzip seq 128 | gzip > 160-375.gzip dd if=/dev/zero of=375-512.padding bs=1 count=137 cat 0-160.gzip 160-375.gzip 375-512.padding > chunks unblob --carve-suffix _carve chunks cp 0-160.gzip chunks_carve/ echo something else > chunks_carve/0-160.gzip_extract/gzip.uncompressed zip collisions.zip chunks chunks_carve/0-160.gzip chunks_carve/0-160.gzip_extract/gzip.uncompressed for input in collisions.zip chunks do unblob -e extractions/defaults/ $input unblob --carve-suffix _carve -e extractions/_carve_extract/ $input unblob --carve-suffix _c --extract-suffix _e -e extractions/_c_e/ $input done
1 parent 2767e86 commit 711e3d2

File tree

29 files changed

+191
-0
lines changed

29 files changed

+191
-0
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
tests/integration/** filter=lfs diff=lfs merge=lfs -text
2+
tests/files/** filter=lfs diff=lfs merge=lfs -text

tests/files/suffixes/chunks

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:1e33039682514a23548f4c6f9b7ed2af6dfbfca8d921fdf7845b0ef7255725b4
3+
size 512
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:33fc006557dbaa40deb732ecfd1ac7921b8397636303ac2d153fa2ab477b21b3
3+
size 1119
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:93d4e5c77838e0aa5cb6647c385c810a7c2782bf769029e6c420052048ab22bb
3+
size 292
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:a91b12613458d22a3fbf6d66ff2fba42124b46ea0e032f68c3564cc0c506ec43
3+
size 404
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:4a93894f08d98d707cd9a0274f4c9a51bcfa27e701359e12befcc78ffb488817
3+
size 137
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:1e33039682514a23548f4c6f9b7ed2af6dfbfca8d921fdf7845b0ef7255725b4
3+
size 512
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:93d4e5c77838e0aa5cb6647c385c810a7c2782bf769029e6c420052048ab22bb
3+
size 292
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:a91b12613458d22a3fbf6d66ff2fba42124b46ea0e032f68c3564cc0c506ec43
3+
size 404
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:4a93894f08d98d707cd9a0274f4c9a51bcfa27e701359e12befcc78ffb488817
3+
size 137

0 commit comments

Comments
 (0)