Skip to content

Commit

Permalink
Add one more working and one more failing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
0-wiz-0 committed Mar 5, 2024
1 parent bfd66ea commit 9a87a58
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions regress/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
set(XFAIL_TESTS
cli-q.test
sort-dupes.test
stealth-modified.test
)

if(RUN_REGRESS)
Expand Down
11 changes: 11 additions & 0 deletions regress/cli-f.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
description test -f: force re-torrentzip
return 0
arguments -f -l small.zip
file small.zip small-modified.tzip small.tzip
stdout
Rezipping - small.zip
--------------------------------------------------
Adding - test.txt (31 bytes)...Done
--------------------------------------------------
Rezipped 1 compressed file totaling 31 bytes.
end-of-inline-data
Binary file added regress/small-modified.tzip
Binary file not shown.
7 changes: 7 additions & 0 deletions regress/stealth-modified.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
description test that trrntzip does not recognize some kind of changes
return 0
arguments -l small.zip
file small.zip small-modified.tzip small.tzip
stdout
Skipping, already TorrentZipped - small.zip
end-of-inline-data

0 comments on commit 9a87a58

Please sign in to comment.