hghave: detect FIFO availability
authorPatrick Mezard <pmezard@gmail.com>
Mon, 06 Aug 2007 09:57:23 +0200
changeset 5070 4cf6f8dbd1b4
parent 5069 92d7ce0da063
child 5071 1b970cdab695
hghave: detect FIFO availability
tests/hghave
--- 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():