From 98f05ef812d80ee3708356c85cba3b925f8c3dbd Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Fri, 29 Mar 2013 14:15:47 -0700 Subject: [PATCH] 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. --- extra/gdbm/gdbm-tests.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extra/gdbm/gdbm-tests.factor b/extra/gdbm/gdbm-tests.factor index 18ca0d02aa..2aac4b213c 100644 --- a/extra/gdbm/gdbm-tests.factor +++ b/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 ;