summaryrefslogtreecommitdiffstats
path: root/tests/zipfs.test
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2023-09-28 11:02:02 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2023-09-28 11:02:02 (GMT)
commit9375cacd65f812d604e0775d9891e69a2415ee1e (patch)
tree1c90d5ce229c3a3db618cbc491b2f112ea74b201 /tests/zipfs.test
parent41883cbddfa57f2b27197042f807763f31b4ecd0 (diff)
downloadtcl-9375cacd65f812d604e0775d9891e69a2415ee1e.zip
tcl-9375cacd65f812d604e0775d9891e69a2415ee1e.tar.gz
tcl-9375cacd65f812d604e0775d9891e69a2415ee1e.tar.bz2
Start on password related zipfs bugs
Diffstat (limited to 'tests/zipfs.test')
-rw-r--r--tests/zipfs.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/zipfs.test b/tests/zipfs.test
index 705f26f..972790f 100644
--- a/tests/zipfs.test
+++ b/tests/zipfs.test
@@ -1219,13 +1219,13 @@ namespace eval test_ns_zipfs {
testConstraint bug-bbe7c6ff9e [expr {$::tcl_platform(os) ne "Darwin"}]
testpassword plain plain.txt password plaintext
testpassword plain-nopassword plain.txt "" plaintext
- testpassword plain-badpassword plain.txt xxx plaintext
+ testpassword plain-badpassword plain.txt badpassword plaintext
testpassword cipher cipher.bin password ciphertext -constraints bug-bbe7c6ff9e
testpassword cipher-nopassword cipher.bin {} "decryption failed - no password provided" -returnCodes error
- testpassword cipher-badpassword cipher.bin xxx "invalid CRC" -returnCodes error
+ testpassword cipher-badpassword cipher.bin badpassword "invalid password" -returnCodes error
testpassword cipher-deflate cipher-deflate.bin password [lseq 100] -constraints bug-bbe7c6ff9e
testpassword cipher-deflate-nopassword cipher-deflate.bin {} "decryption failed - no password provided" -returnCodes error
- testpassword cipher-deflate-badpassword cipher-deflate.bin xxx "decompression error" -returnCodes error
+ testpassword cipher-deflate-badpassword cipher-deflate.bin badpassword "invalid password" -returnCodes error
#
# CRC errors