From f200f412d0dd92449e05e09152323ea336ddb276 Mon Sep 17 00:00:00 2001 From: Thomas Klausner Date: Tue, 17 Dec 2024 16:39:56 +0100 Subject: [PATCH] Fix three tests for latest nihtest. --- regress/disk-from-extra-using-copy-remove.zip.test | 1 + regress/diskfull-zip.zip.test | 1 + regress/rom-from-extra-commit-error.zip.test | 1 + 3 files changed, 3 insertions(+) diff --git a/regress/disk-from-extra-using-copy-remove.zip.test b/regress/disk-from-extra-using-copy-remove.zip.test index 8b31b038..9bb3a062 100644 --- a/regress/disk-from-extra-using-copy-remove.zip.test +++ b/regress/disk-from-extra-using-copy-remove.zip.test @@ -5,6 +5,7 @@ preload fwrite.so environment-set RENAME_FAILS roms/108-5.chd arguments --no-status-db -Fvj -D ../mamedb-disk.db -e extradir file extradir/1234.chd 108-5.chd {} +directory extradir <> <> file roms/disk/108-5.chd {} 108-5.chd file roms/.ckmame.db {} stdout diff --git a/regress/diskfull-zip.zip.test b/regress/diskfull-zip.zip.test index 0dde5962..f1c4c860 100644 --- a/regress/diskfull-zip.zip.test +++ b/regress/diskfull-zip.zip.test @@ -4,6 +4,7 @@ return 0 environment-set FWRITE_MAX_WRITE 5 preload fwrite.so arguments --no-status-db -Fjvc -D ../mamedb-lost-parent-ok.db -e extra +directory roms {} <> file extra/.ckmame.db {} wrongname-nohash.ckmamedb-dump file extra/wrongname.zip 2-48-ok.zip set-modification-time extra/wrongname.zip 1422359238 diff --git a/regress/rom-from-extra-commit-error.zip.test b/regress/rom-from-extra-commit-error.zip.test index 8f2152fc..2b3a191e 100644 --- a/regress/rom-from-extra-commit-error.zip.test +++ b/regress/rom-from-extra-commit-error.zip.test @@ -6,6 +6,7 @@ environment-set RENAME_FAILS roms/1-4.zip arguments --no-status-db -Fvje extra -D ../mamedb-small.db file mame.db mame.db file roms/1-4-wrong-name.zip 1-4-ok.zip {} +directory roms <> <> file saved/d87f7e0c-000.zip {} 1-4-ok.zip file saved/.ckmame.db {} stdout