diff options
author | Richard van der Hoff <richardv@mxtelecom.com> | 2007-08-24 15:45:16 +0000 |
---|---|---|
committer | Richard van der Hoff <richardv@mxtelecom.com> | 2007-08-24 15:45:16 +0000 |
commit | 77181f6db04de7b11f39367cc003ccac3ce0a43c (patch) | |
tree | 91bdcf3dfd0fd15983fa3303a0d75e0a65f57cd9 /test | |
parent | 924f2d928dc514ed4496d7cb22fbe8bf2a55e9f7 (diff) | |
download | wireshark-77181f6db04de7b11f39367cc003ccac3ce0a43c.tar.gz wireshark-77181f6db04de7b11f39367cc003ccac3ce0a43c.tar.bz2 wireshark-77181f6db04de7b11f39367cc003ccac3ce0a43c.zip |
do the fifo test on platforms where mkfifo is available
svn path=/trunk/; revision=22640
Diffstat (limited to 'test')
-rwxr-xr-x | test/config.sh | 9 |
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 + |