# HG changeset patch # User Patrick Mezard # Date 1186387043 -7200 # Node ID 4cf6f8dbd1b4ac7a80136e7cc7546ac066df74a9 # Parent 92d7ce0da0633ee51d2185c533512357568ec92f hghave: detect FIFO availability diff --git a/tests/hghave b/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():