changeset 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 31203db1b2ac
children 5cd14e1e8385
files tests/hghave
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)