changeset 5070:4cf6f8dbd1b4

hghave: detect FIFO availability
author Patrick Mezard <pmezard@gmail.com>
date Mon, 06 Aug 2007 09:57:23 +0200
parents 92d7ce0da063
children 1b970cdab695
files tests/hghave
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/hghave	Mon Aug 06 09:57:23 2007 +0200
+++ b/tests/hghave	Mon Aug 06 09:57:23 2007 +0200
@@ -9,8 +9,12 @@
 def has_symlink():
     return hasattr(os, "symlink")
 
+def has_fifo():
+    return hasattr(os, "mkfifo")
+
 checks = {
     "symlink": (has_symlink, "symbolic links"),
+    "fifo": (has_fifo, "named pipes"),
 }
 
 def list_features():