Permalink
Browse files

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.
  • Loading branch information...
1 parent b27056c commit 696aa8cabe72a6aa4a1b962f59fe677337ba0607 @erg erg committed Mar 29, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 extra/gdbm/gdbm-tests.factor
@@ -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 ;

0 comments on commit 696aa8c

Please sign in to comment.