From b47a1ec51086063d35b6844c66f41c7f4818e7f8 Mon Sep 17 00:00:00 2001 From: mdb Date: Tue, 30 Jan 2007 18:52:18 +0000 Subject: [PATCH] Use a randomly generated temp file name so that our simultaneous parallel builds don't stomp on one another. git-svn-id: https://samskivert.googlecode.com/svn/trunk@2040 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- src/java/com/samskivert/util/tests/HashIntMapTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/com/samskivert/util/tests/HashIntMapTest.java b/src/java/com/samskivert/util/tests/HashIntMapTest.java index 703d92a2..597dbd63 100644 --- a/src/java/com/samskivert/util/tests/HashIntMapTest.java +++ b/src/java/com/samskivert/util/tests/HashIntMapTest.java @@ -61,7 +61,7 @@ public class HashIntMapTest extends TestCase populateTable(table); try { - File tmpfile = new File("/tmp/himt.dat"); + File tmpfile = File.createTempFile("himt", "dat"); FileOutputStream fout = new FileOutputStream(tmpfile); ObjectOutputStream out = new ObjectOutputStream(fout);