hghave: check for case insensitive filesystem in current dir
authorSimon Heimberg <simohe@besonet.ch>
Fri, 07 Aug 2009 15:34:54 +0200
changeset 9395 163e79e2ed5f
parent 9394 31203db1b2ac
child 9396 5cd14e1e8385
hghave: check for case insensitive filesystem in current dir check was done on TEMP
tests/hghave
--- 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)