diff options
author | Gerald Combs <gerald@wireshark.org> | 2016-04-26 12:22:12 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2016-04-26 19:22:57 +0000 |
commit | f52c3c468a508e1e770c32d479cdd761cb412af8 (patch) | |
tree | 61ec2aeb46e7344612173127a26966f96b5dd501 /test | |
parent | fc216521850fd5af5bf58ae5e3a90a634d087794 (diff) | |
download | wireshark-f52c3c468a508e1e770c32d479cdd761cb412af8.tar.gz wireshark-f52c3c468a508e1e770c32d479cdd761cb412af8.tar.bz2 wireshark-f52c3c468a508e1e770c32d479cdd761cb412af8.zip |
Test: Make capture_step_stdin more verbose.
Add some verbosity to the stdin capture test. Hopefully this will shed
some light on the Windows 8 builder failures.
Change-Id: Ife2bbbaeed7a1e4a7ddd1c1f86322ba25d154f4c
Reviewed-on: https://code.wireshark.org/review/15122
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'test')
-rwxr-xr-x | test/suite-capture.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/suite-capture.sh b/test/suite-capture.sh index d8270a6a73..badf9a758e 100755 --- a/test/suite-capture.sh +++ b/test/suite-capture.sh @@ -212,6 +212,7 @@ capture_step_stdin() { CONSOLE_LOG_ARGS="-o console.log.level:127" fi + set -xv (cat "${CAPTURE_DIR}dhcp.pcap"; sleep 1; tail -c +25 "${CAPTURE_DIR}dhcp.pcap") | \ $DUT -i - $TRAFFIC_CAPTURE_PROMISC \ -w ./testout.pcap \ @@ -219,6 +220,7 @@ capture_step_stdin() { $CONSOLE_LOG_ARGS \ > ./testout.txt 2> ./testerr.txt RETURNVALUE=$? + set +xv if [ ! $RETURNVALUE -eq $EXIT_OK ]; then capture_test_output_print ./testout.txt ./testerr.txt ./dumpcap_debug_log.tmp test_step_failed "Exit status of $DUT: $RETURNVALUE" |