delphidabbler / bdiff

Binary diff and patch programs for the Windows command line
https://delphidabbler.com/software/bdiff
BSD 3-Clause "New" or "Revised" License
62 stars 16 forks source link

Add new patch test using ASCII file > 64KiB #40

Closed delphidabbler closed 1 week ago

delphidabbler commented 2 months ago

Using files larger than 64KiB, and preferably more than twice that size will test the newly enlarged file read buffer works with files larger than the buffer.

delphidabbler commented 2 months ago

Use gbg 150,000 -A to generate a file of random printable ASCII characters. Copy that file and open in a text editor, change a few characters and save. Run bdiff, bpatch and fc over these files as per existing tests.

delphidabbler commented 1 week ago

Updating the existing Test.bat file with an extension of the existing patch command to run a binnary diff/patch on files created as suggested above. The new command is

Test patch large
delphidabbler commented 1 week ago

Implemented at commit 2716367