Fix the name resolution tests so that they run on Windows. Enable them
by default. Remove some unused code. svn path=/trunk/; revision=49661
This commit is contained in:
parent
cfebdcd2f5
commit
d5e30ea820
|
@ -28,18 +28,10 @@ EXIT_OK=0
|
|||
EXIT_COMMAND_LINE=1
|
||||
EXIT_ERROR=2
|
||||
|
||||
|
||||
TEST_KEYS_DIR="$PWD/keys/"
|
||||
if [ "$WS_SYSTEM" == "Windows" ] ; then
|
||||
TEST_KEYS_DIR="`cygpath -w $TEST_KEYS_DIR`"
|
||||
fi
|
||||
|
||||
#TS_ARGS="-Tfields -e frame.number -e frame.time_epoch -e frame.time_delta"
|
||||
TS_NR_ARGS="-r captures/dns+icmp.pcapng.gz"
|
||||
TS_NR_ENV="WIRESHARK_RUN_FROM_BUILD_DIRECTORY=1 ${HOME_ENV}=${TEST_HOME}"
|
||||
|
||||
DIFF_OUT=./diff-output.txt
|
||||
|
||||
if [ "$WS_SYSTEM" == "Windows" ] ; then
|
||||
CONF_PATH="fakehome/Wireshark"
|
||||
else
|
||||
|
@ -177,7 +169,7 @@ name_resolution_cleanup_step() {
|
|||
name_resolution_prep_step() {
|
||||
name_resolution_cleanup_step
|
||||
mkdir -p "$CUSTOM_PROFILE_PATH"
|
||||
cp hosts.global ../hosts
|
||||
cp hosts.global $WS_BIN_PATH/hosts
|
||||
cp hosts.personal "$CONF_PATH/hosts"
|
||||
cp hosts.custom "$CUSTOM_PROFILE_PATH/hosts"
|
||||
}
|
||||
|
|
|
@ -118,7 +118,7 @@ test_suite() {
|
|||
test_suite_add "Unit tests" unittests_suite
|
||||
test_suite_add "File formats" fileformats_suite
|
||||
test_suite_add "Decryption" decryption_suite
|
||||
# test_suite_add "Name Resolution" name_resolution_suite
|
||||
test_suite_add "Name Resolution" name_resolution_suite
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue