View Single Post
  #16  
Old 18-06-2016, 13:24
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
Almost there, another test, no responses from previous test I guess everything is okay, anyways.

From this test, I managed to make archive splits restoration (wasn't easy making code for this and as of yet, it needs some tweaks for perfections)

What you must test is whether:
* The state of the input directory is the same as restore directory, I mean things like when the file was created, was the file hidden, read only, system file etc.
* Restoration is a success with CRC matching

What you must make sure:
* Make sure you don't have a 0 byte file in the directory, I haven't considered those files quite yet.
* Make sure you have more than 1 file in the directory. (Been getting errors if there is less than 2 files)

Take note:
The method used here is 4x4, just wanted to make test is as quick as possible.
Split size is set to 200MB

What to do to run test:
Put files in input folder
play with the input a little bit, hide some folders and files, play with dates and etc, also use Unicode characters on some of the files, e.g. Greek letters.
Run pack.exe then wait till it finishes
Check output directory to see the splits.
Run unpack.exe then wait till it finishes
Compare input folder with restore folder
Attached Images
File Type: png ZArc1.PNG (95.7 KB, 524 views)
Attached Files
File Type: 7z ZArc_test5.7z (1.34 MB, 155 views)
Reply With Quote
The Following 7 Users Say Thank You to Razor12911 For This Useful Post:
Amsal (18-06-2016), Macke (09-11-2016), Mini (19-06-2016), RamiroCruzo (18-06-2016), Sarvagya (25-06-2016), Simorq (18-06-2016), vint56 (19-06-2016)
Sponsored Links