aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-06-17 11:49:03 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-06-17 11:49:03 +0000
commit25c3f0a10759b90def163e9a74945c27c82aa42b (patch)
tree361c16a585d759a78ce0f0b5aa182543040f5ad4 /test
parent85f49f1d4919fb2fbcafd374863ba9528ede9aef (diff)
ethereal to wireshark conversion
svn path=/trunk/; revision=18495
Diffstat (limited to 'test')
-rw-r--r--test/README.test6
-rw-r--r--test/config.sh2
-rw-r--r--test/suite-capture.sh8
-rw-r--r--test/suite-io.sh4
4 files changed, 10 insertions, 10 deletions
diff --git a/test/README.test b/test/README.test
index 4dfcf2b81f..ce50e18e58 100644
--- a/test/README.test
+++ b/test/README.test
@@ -6,14 +6,14 @@ What is it?
-----------
This is basically a collection of bash scripts to test the command line options of:
- - Ethereal
+ - Wireshark
- TShark
- Dumpcap
Motivation
----------
-The command line options of Ethereal and the companion command line tools are
+The command line options of Wireshark and the companion command line tools are
numerous. This makes it hard to find newly introduced bugs doing manual testing
(try and error) with source code changes.
@@ -38,7 +38,7 @@ Prerequisites
What you'll need (to do):
- THE LATEST DEVELOPER BUILDS (the 0.10.13 release won't work)!
- - obviously, compile the programs (ethereal, ...) to be tested
+ - obviously, compile the programs (wireshark, ...) to be tested
- have a bash (cygwin should do well)
- you'll need a network interface with some network traffic
(so you can run the capture tests)
diff --git a/test/config.sh b/test/config.sh
index 62f180109b..b103d2829c 100644
--- a/test/config.sh
+++ b/test/config.sh
@@ -27,7 +27,7 @@
ETH_BIN_PATH=../Debug_GTK2
# Tweak the following to your liking.
-WIRESHARK=$ETH_BIN_PATH/ethereal
+WIRESHARK=$ETH_BIN_PATH/wireshark
TSHARK=$ETH_BIN_PATH/tshark
CAPINFOS=$ETH_BIN_PATH/capinfos
DUMPCAP=$ETH_BIN_PATH/dumpcap
diff --git a/test/suite-capture.sh b/test/suite-capture.sh
index 1a107bdc79..0fc4d9fe90 100644
--- a/test/suite-capture.sh
+++ b/test/suite-capture.sh
@@ -185,13 +185,13 @@ capture_step_snapshot() {
fi
}
-ethereal_capture_suite() {
+wireshark_capture_suite() {
# Q: quit after cap, k: start capture immediately
DUT="$WIRESHARK -Q -k"
test_step_add "Capture 10 packets" capture_step_10packets
- # piping to stdout doesn't work with Ethereal and capturing!
+ # piping to stdout doesn't work with Wireshark and capturing!
#test_step_add "Capture 10 packets using stdout: -w -" capture_step_10packets_stdout
- # read filter doesn't work with Ethereal and capturing!
+ # read filter doesn't work with Wireshark and capturing!
#test_step_add "Capture read filter (${TRAFFIC_CAPTURE_DURATION}s)" capture_step_read_filter
test_step_add "Capture snapshot length 68 bytes (${TRAFFIC_CAPTURE_DURATION}s)" capture_step_snapshot
}
@@ -226,6 +226,6 @@ capture_suite() {
test_step_set_post capture_cleanup_step
test_remark_add "Capture - need some traffic on interface: \"$TRAFFIC_CAPTURE_IFACE\""
test_suite_add "TShark capture" tshark_capture_suite
- test_suite_add "Ethereal capture" ethereal_capture_suite
+ test_suite_add "Wireshark capture" wireshark_capture_suite
test_suite_add "Dumpcap capture" dumpcap_capture_suite
}
diff --git a/test/suite-io.sh b/test/suite-io.sh
index 51eb98f823..909cff804e 100644
--- a/test/suite-io.sh
+++ b/test/suite-io.sh
@@ -125,7 +125,7 @@ io_step_input_piping() {
fi
}
-ethereal_io_suite() {
+wireshark_io_suite() {
# Q: quit after cap, k: start capture immediately
DUT="$WIRESHARK"
test_step_add "Input file" io_step_input_file
@@ -156,6 +156,6 @@ io_suite() {
test_step_set_pre io_cleanup_step
test_step_set_post io_cleanup_step
test_suite_add "TShark file I/O" tshark_io_suite
- #test_suite_add "Ethereal file I/O" ethereal_io_suite
+ #test_suite_add "Wireshark file I/O" wireshark_io_suite
#test_suite_add "Dumpcap file I/O" dumpcap_io_suite
}