-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add failing test for cache when using torrentzip
- Loading branch information
Showing
3 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
clrmamepro ( | ||
) | ||
|
||
game ( | ||
name 2-48 | ||
description 2-48 | ||
rom ( name 08.rom size 8 crc 3656897d md5 095ca6fcc1279865662b553147eb8f6d sha1 111bb8b7549e3386a996845405b02164f17c7b37 ) | ||
rom ( name 04.rom size 4 crc d87f7e0c md5 098f6bcd4621d373cade4e832627b4f6 sha1 a94a8fe5ccb19ba61c4c0873d391e987982fbbd3 ) | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
description test single-rom game (no parent), add missing rom, torrentzip it | ||
variants zip | ||
return 0 | ||
args -D ../mamedb-reversesorted.db -Fjvc -e extra --use-torrentzip 2-48 | ||
file-new roms/2-48.zip 2-48-ok.zip | ||
file-del extra/2-48.zip 2-48-ok.zip | ||
stdout-data | ||
In game 2-48: | ||
rom 08.rom size 8 crc 3656897d: is in 'extra/2-48.zip/08.rom' | ||
rom 04.rom size 4 crc d87f7e0c: is in 'extra/2-48.zip/04.rom' | ||
add 'extra/2-48.zip/08.rom' as '08.rom' | ||
add 'extra/2-48.zip/04.rom' as '04.rom' | ||
In archive extra/2-48.zip: | ||
delete used file '04.rom' | ||
delete used file '08.rom' | ||
remove empty archive | ||
end-of-data |