aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorrichardv <richardv@f5534014-38df-0310-8fa8-9805f1628bb7>2007-08-24 15:45:16 +0000
committerrichardv <richardv@f5534014-38df-0310-8fa8-9805f1628bb7>2007-08-24 15:45:16 +0000
commit23fd5a02641cbd445ff0f48b9e8a90c128d6ab50 (patch)
tree91bdcf3dfd0fd15983fa3303a0d75e0a65f57cd9 /test
parentaefd6050e825475c151ac3fac751062b6311d0da (diff)
do the fifo test on platforms where mkfifo is available
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22640 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'test')
-rwxr-xr-xtest/config.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/config.sh b/test/config.sh
index aec0a04b34..a2b69c8fa8 100755
--- a/test/config.sh
+++ b/test/config.sh
@@ -64,6 +64,9 @@ TRAFFIC_CAPTURE_DURATION=60
# if you need promiscuous mode, comment this line out
TRAFFIC_CAPTURE_PROMISC=-p
-# Windows (even cygwin) don't provide the mkfifo used here
-# if you have mkfifo, you may uncomment this line
-#TEST_FIFO
+# only test capturing from a fifo if we have a mkfifo
+# (it's not available on Windows or cygwin)
+if which mkfifo &>/dev/null ; then
+ TEST_FIFO=1
+fi
+