Skip to content

Commit

Permalink
Add test for HMAC errors.
Browse files Browse the repository at this point in the history
Closes #478.
  • Loading branch information
0-wiz-0 committed Jan 20, 2025
1 parent e181a06 commit 5e75324
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions regress/hmac-error.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
description test file that has an HMAC error
return 1
arguments hmac-error.zip set_password 1234 cat 0
file hmac-error.zip hmac-error.zip
stdout
The quick brown fox jumps over t quazy dog
end-of-inline-data
stderr
can't read file at index '0': CRC error
end-of-inline-data
Binary file added regress/hmac-error.zip
Binary file not shown.

0 comments on commit 5e75324

Please sign in to comment.