Temporarily enable dumpcap debugging.
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 30 Jun 2011 17:41:46 +0000 (17:41 +0000)
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 30 Jun 2011 17:41:46 +0000 (17:41 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37844 f5534014-38df-0310-8fa8-9805f1628bb7

dumpcap.c
test/suite-capture.sh

index f1ae2f2fe790015827557baf356034c3ca4f95ab..3e3a475730f310b8b1b5290d447d7be521d4b986 100644 (file)
--- a/dumpcap.c
+++ b/dumpcap.c
 #include "wiretap/libpcap.h"
 
 /**#define DEBUG_DUMPCAP**/
+#define DEBUG_CHILD_DUMPCAP 1
 /**#define DEBUG_CHILD_DUMPCAP**/
 
 #ifdef _WIN32
index 1a08b72c19d6f83b5673a54c898dab4e0c140450..43fe3c3a666a370613aa7e72f2074aa399b51a62 100755 (executable)
@@ -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