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.
parent
f70325a8c2
commit
98f05ef812
|
@ -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 ;
|
||||
|
||||
|
|
Loading…
Reference in New Issue