Skip to content

Commit

Permalink
[test] Add SquasFS test files
Browse files Browse the repository at this point in the history
  • Loading branch information
mxmlnkn committed Sep 9, 2024
1 parent c29940b commit bfcf2a3
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/create-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,11 @@ zip -r --symlinks folder-symlink.zip foo
rar a -ol folder-symlink.rar foo
7z a -ol folder-symlink.7z foo

tar -cf- foo | sqfstar -noI -noId -noD -noF -noX folder-symlink.no-compression.squashfs
for compression in gzip lzma lzo lz4 xz zstd; do
tar -cf- foo | sqfstar -comp "$compression" "folder-symlink.$compression.squashfs"
done


cat <<EOF > CHANGELOG.md
What is Lorem Ipsum?
Expand Down
Binary file added tests/folder-symlink.gzip.squashfs
Binary file not shown.
Binary file added tests/folder-symlink.lz4.squashfs
Binary file not shown.
Binary file added tests/folder-symlink.lzma.squashfs
Binary file not shown.
Binary file added tests/folder-symlink.lzo.squashfs
Binary file not shown.
Binary file added tests/folder-symlink.no-compression.squashfs
Binary file not shown.
Binary file added tests/folder-symlink.xz.squashfs
Binary file not shown.
Binary file added tests/folder-symlink.zstd.squashfs
Binary file not shown.

0 comments on commit bfcf2a3

Please sign in to comment.