from Richard van der Hoff:
[obnox/wireshark/wip.git] / test / config.sh
1 #!/bin/bash
2 #
3 # Configuration of the command line tests
4 #
5 # $Id$
6 #
7 # Wireshark - Network traffic analyzer
8 # By Gerald Combs <gerald@wireshark.org>
9 # Copyright 2005 Ulf Lamping
10 #
11 # This program is free software; you can redistribute it and/or
12 # modify it under the terms of the GNU General Public License
13 # as published by the Free Software Foundation; either version 2
14 # of the License, or (at your option) any later version.
15 #
16 # This program is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 # GNU General Public License for more details.
20 #
21 # You should have received a copy of the GNU General Public License
22 # along with this program; if not, write to the Free Software
23 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
24
25
26 # path to the Wireshark binaries, only used for the settings below
27 ETH_BIN_PATH=../wireshark-gtk2
28
29 # Tweak the following to your liking.
30 WIRESHARK=$ETH_BIN_PATH/wireshark
31 TSHARK=$ETH_BIN_PATH/tshark
32 CAPINFOS=$ETH_BIN_PATH/capinfos
33 DUMPCAP=$ETH_BIN_PATH/dumpcap
34
35 # interface with at least a few packets/sec traffic on it
36 # (e.g. start a web radio to generate some traffic :-)
37 # an interfaces index (1 based) should do well for recent devbuilds
38 TRAFFIC_CAPTURE_IFACE=3
39
40 # time to capture some traffic (in seconds)
41 # (you may increase this if you get errors caused by very low traffic)
42 TRAFFIC_CAPTURE_DURATION=3
43
44 # the default is to not capture in promiscuous mode
45 # (this makes known trouble with some Windows WLAN adapters)
46 # if you need promiscuous mode, comment this line out
47 TRAFFIC_CAPTURE_PROMISC=-p
48
49 # Windows (even cygwin) don't provide the mkfifo used here
50 # if you have mkfifo, you may uncomment this line
51 #TEST_FIFO