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);