Reverse the arguments we feed to valgrind-wireshark.sh. Add debugging
output. svn path=/trunk/; revision=48895
This commit is contained in:
parent
b2f0991616
commit
b25fa89125
@ -50,7 +50,7 @@ shift $(($OPTIND - 1))
|
|||||||
|
|
||||||
if [ $VALGRIND -eq 1 ]; then
|
if [ $VALGRIND -eq 1 ]; then
|
||||||
RUNNER="$BIN_DIR/tools/valgrind-wireshark.sh"
|
RUNNER="$BIN_DIR/tools/valgrind-wireshark.sh"
|
||||||
declare -a RUNNER_ARGS=("${CONFIG_PROFILE}${TWO_PASS}" "${CONFIG_PROFILE}${TWO_PASS}-T")
|
declare -a RUNNER_ARGS=("${CONFIG_PROFILE}${TWO_PASS}-T" "${CONFIG_PROFILE}${TWO_PASS}")
|
||||||
else
|
else
|
||||||
# Not using valgrind, use regular tshark.
|
# Not using valgrind, use regular tshark.
|
||||||
# TShark arguments (you won't have to change these)
|
# TShark arguments (you won't have to change these)
|
||||||
@ -156,6 +156,7 @@ while [ \( $PASS -lt $MAX_PASSES -o $MAX_PASSES -lt 1 \) -a $DONE -ne 1 ] ; do
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "RUNNER_ARGS:" "${RUNNER_ARGS[@]}"
|
||||||
for ARGS in "${RUNNER_ARGS[@]}" ; do
|
for ARGS in "${RUNNER_ARGS[@]}" ; do
|
||||||
echo -n "($ARGS) "
|
echo -n "($ARGS) "
|
||||||
echo -e "Command and args: $RUNNER $ARGS\n" > $TMP_DIR/$ERR_FILE
|
echo -e "Command and args: $RUNNER $ARGS\n" > $TMP_DIR/$ERR_FILE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user