summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2011-06-30 17:41:46 +0000
committerGerald Combs <gerald@wireshark.org>2011-06-30 17:41:46 +0000
commitf04a525e7971972a5544484d42a79c497940ad1d (patch)
treef3ecdf8d2fce1589f4b5dba64530265be8f24c29
parent2b439f46f36c09db243e1ffb425f438b651b0d04 (diff)
downloadwireshark-f04a525e7971972a5544484d42a79c497940ad1d.tar.gz
Temporarily enable dumpcap debugging.
svn path=/trunk/; revision=37844
-rw-r--r--dumpcap.c1
-rwxr-xr-xtest/suite-capture.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/dumpcap.c b/dumpcap.c
index f1ae2f2fe7..3e3a475730 100644
--- a/dumpcap.c
+++ b/dumpcap.c
@@ -120,6 +120,7 @@
#include "wiretap/libpcap.h"
/**#define DEBUG_DUMPCAP**/
+#define DEBUG_CHILD_DUMPCAP 1
/**#define DEBUG_CHILD_DUMPCAP**/
#ifdef _WIN32
diff --git a/test/suite-capture.sh b/test/suite-capture.sh
index 1a08b72c19..43fe3c3a66 100755
--- a/test/suite-capture.sh
+++ b/test/suite-capture.sh
@@ -208,7 +208,7 @@ capture_step_stdin() {
> ./testout.txt 2>&1
RETURNVALUE=$?
if [ ! $RETURNVALUE -eq $EXIT_OK ]; then
- capture_test_output_print ./testout.txt
+ capture_test_output_print ./testout.txt ./dumpcap_debug_log.tmp
test_step_failed "exit status of $DUT: $RETURNVALUE"
return
fi