hghave: detect FIFO availability
authorPatrick Mezard <pmezard@gmail.com>
Mon, 06 Aug 2007 09:57:23 +0200
changeset 5086 4cf6f8dbd1b4
parent 5085 92d7ce0da063
child 5087 1b970cdab695
hghave: detect FIFO availability
tests/hghave
--- a/tests/hghave
+++ b/tests/hghave
@@ -9,8 +9,12 @@ import sys
 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():