diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-12-13 23:15:20 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-12-13 23:15:20 +0000 |
commit | 0922a2b922646a831c9ff3c6d8f8b43700ef6edc (patch) | |
tree | bd8e7343f1749d610fa756b75bd7c3dfd44d3596 /test/config.sh | |
parent | 79217bab2ebb0d2811e130bea6334c8227a88a28 (diff) | |
download | wireshark-0922a2b922646a831c9ff3c6d8f8b43700ef6edc.tar.gz wireshark-0922a2b922646a831c9ff3c6d8f8b43700ef6edc.tar.bz2 wireshark-0922a2b922646a831c9ff3c6d8f8b43700ef6edc.zip |
add a new directory 'test', currently containing an alpha test (using some simple bash scripts) of the ethereal/tethereal command line parameters. See the file README.test for details.
svn path=/trunk/; revision=16788
Diffstat (limited to 'test/config.sh')
-rw-r--r-- | test/config.sh | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/test/config.sh b/test/config.sh new file mode 100644 index 0000000000..fe0cf48b30 --- /dev/null +++ b/test/config.sh @@ -0,0 +1,42 @@ +#!/bin/bash +# +# Configuration of the command line tests +# +# $Id$ +# +# Ethereal - Network traffic analyzer +# By Gerald Combs <gerald@ethereal.com> +# Copyright 2005 Ulf Lamping +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# + +# path to the Ethereal binaries, only used for the settings below +ETH_BIN_PATH=../Debug_GTK2 + +# Tweak the following to your liking. +ETHEREAL=$ETH_BIN_PATH/ethereal +TETHEREAL=$ETH_BIN_PATH/tethereal +CAPINFOS=$ETH_BIN_PATH/capinfos +DUMPCAP=$ETH_BIN_PATH/dumpcap + +# interface with at least a few packets/sec traffic on it +# (e.g. start a web radio to generate some traffic :-) +# an interfaces index (1 based) should do well for recent devbuilds +TRAFFIC_CAPTURE_IFACE=2 + +# time to capture some traffic (in seconds) +# (you may increase this if you get errors caused by very low traffic) +TRAFFIC_CAPTURE_DURATION=3 |