tests/hghave.py
branchstable
changeset 1133 82f74372516e
parent 1105 9b2932ca75fd
child 1136 294cea906d3a
equal deleted inserted replaced
1131:1938c2ebf517 1133:82f74372516e
   115         os.mkfifo(name)
   115         os.mkfifo(name)
   116         os.unlink(name)
   116         os.unlink(name)
   117         return True
   117         return True
   118     except OSError:
   118     except OSError:
   119         return False
   119         return False
       
   120 
       
   121 def has_killdaemons():
       
   122     return True
   120 
   123 
   121 def has_cacheable_fs():
   124 def has_cacheable_fs():
   122     from mercurial import util
   125     from mercurial import util
   123 
   126 
   124     fd, path = tempfile.mkstemp(dir='.', prefix=tempprefix)
   127     fd, path = tempfile.mkstemp(dir='.', prefix=tempprefix)
   284     "git": (has_git, "git command line client"),
   287     "git": (has_git, "git command line client"),
   285     "gpg": (has_gpg, "gpg client"),
   288     "gpg": (has_gpg, "gpg client"),
   286     "hardlink": (has_hardlink, "hardlinks"),
   289     "hardlink": (has_hardlink, "hardlinks"),
   287     "icasefs": (has_icasefs, "case insensitive file system"),
   290     "icasefs": (has_icasefs, "case insensitive file system"),
   288     "inotify": (has_inotify, "inotify extension support"),
   291     "inotify": (has_inotify, "inotify extension support"),
       
   292     "killdaemons": (has_killdaemons, 'killdaemons.py support'),
   289     "lsprof": (has_lsprof, "python lsprof module"),
   293     "lsprof": (has_lsprof, "python lsprof module"),
   290     "mtn": (has_mtn, "monotone client (>= 1.0)"),
   294     "mtn": (has_mtn, "monotone client (>= 1.0)"),
   291     "outer-repo": (has_outer_repo, "outer repo"),
   295     "outer-repo": (has_outer_repo, "outer repo"),
   292     "p4": (has_p4, "Perforce server and client"),
   296     "p4": (has_p4, "Perforce server and client"),
   293     "pyflakes": (has_pyflakes, "Pyflakes python linter"),
   297     "pyflakes": (has_pyflakes, "Pyflakes python linter"),