Skip to content

Commit

Permalink
Add another (failing) test for -e.
Browse files Browse the repository at this point in the history
This one can be made to work with the current version of nihtest.
  • Loading branch information
0-wiz-0 committed Mar 5, 2024
1 parent c797639 commit 5a314a5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions regress/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
set(XFAIL_TESTS
cli-e.test
cli-e-2.test
sort-dupes.test
)

Expand Down
12 changes: 12 additions & 0 deletions regress/cli-e-2.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
description test -e: write error log to file
return 0
arguments -e -l dupe.zip
file dupe.zip dupe.zip dupe.zip
stdout
Rezipping - dupe.zip
--------------------------------------------------
Adding - abc (4 bytes)...Done
end-of-inline-data
stderr
Zip file "dupe.zip" contains more than one file named "abc"
end-of-inline-data

0 comments on commit 5a314a5

Please sign in to comment.