gdbm: Change the gdbm test file to have a different name on 32/64 bit. Fixes #673 and the race condition when running two mason instances on 32/64 bit.

db4
Doug Coleman 2013-03-29 14:15:47 -07:00
parent f70325a8c2
commit 98f05ef812
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ USING: accessors arrays continuations gdbm io.directories
io.files.temp kernel sequences sets system tools.test ;
IN: gdbm.tests
: db-path ( -- filename ) "test.db" temp-file ;
: db-path ( -- filename ) cpu name>> "-test.db" append temp-file ;
: CLEANUP ( -- ) [ db-path delete-file ] ignore-errors ;