Changeset 3621 in MondoRescue for branches/3.3/mindi-busybox/testsuite/unzip.tests
- Timestamp:
- Dec 20, 2016, 4:07:32 PM (7 years ago)
- Location:
- branches/3.3
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mindi-busybox/testsuite/unzip.tests
r2725 r3621 8 8 . ./testing.sh 9 9 10 # testing "test name" " options" "expected result" "file input" "stdin"10 # testing "test name" "commands" "expected result" "file input" "stdin" 11 11 # file input will be file called "input" 12 12 # test can create a file "actual" instead of writing to stdout … … 31 31 rm foo.zip 32 32 33 # File containing some damaged encrypted stream 34 testing "unzip (bad archive)" "uudecode; unzip bad.zip 2>&1; echo \$?" \ 35 "Archive: bad.zip 36 inflating: ]3j½r«IK-%Ix 37 unzip: corrupted data 38 unzip: inflate error 39 1 40 " \ 41 "" "\ 42 begin-base64 644 bad.zip 43 UEsDBBQAAgkIAAAAIQA5AAAANwAAADwAAAAQAAcAXTNqwr1ywqtJGxJLLSVJ 44 eCkBD0AdKBk8JzQsIj01JC0/ORJQSwMEFAECCAAAAAAhADoAAAAPAAAANgAA 45 AAwAAQASw73Ct1DCokohPXQiNjoUNTUiHRwgLT4WHlBLAQIQABQAAggIAAAA 46 oQA5AAAANwAAADwAAAAQQAcADAAAACwAMgCAAAAAAABdM2rCvXLCq0kbEkst 47 JUl4KQEPQB0oGSY4Cz4QNgEnJSYIPVBLAQIAABQAAggAAAAAIQAqAAAADwAA 48 BDYAAAAMAAEADQAAADIADQAAAEEAAAASw73Ct1DKokohPXQiNzA+FAI1HCcW 49 NzITNFBLBQUKAC4JAA04Cw0EOhZQSwUGAQAABAIAAgCZAAAAeQAAAAIALhM= 50 ==== 51 " 52 53 rm * 54 33 55 # Clean up scratch directory. 34 56
Note:
See TracChangeset
for help on using the changeset viewer.