diff tests/hghave @ 9395:163e79e2ed5f

hghave: check for case insensitive filesystem in current dir check was done on TEMP
author Simon Heimberg <simohe@besonet.ch>
date Fri, 07 Aug 2009 15:34:54 +0200
parents b236f34ec1e9
children 57d682d7d2da
line wrap: on
line diff
--- a/tests/hghave	Sat Aug 15 21:19:57 2009 +0900
+++ b/tests/hghave	Fri Aug 07 15:34:54 2009 +0200
@@ -78,7 +78,7 @@
 
 def has_icasefs():
     # Stolen from mercurial.util
-    fd, path = tempfile.mkstemp(prefix=tempprefix)
+    fd, path = tempfile.mkstemp(prefix=tempprefix, dir='.')
     os.close(fd)
     try:
         s1 = os.stat(path)