aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite-nameres.sh
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-05-10 17:00:15 -0700
committerGuy Harris <guy@alum.mit.edu>2015-05-11 00:00:46 +0000
commit0617b1a0aa68c3f3207434686eb60c5a191fc01c (patch)
treeb741e5c6529e4f569d2a023c41fb3b63ab655cec /test/suite-nameres.sh
parentc8394b8b6f43b8ec845298c2ada39362077e7aa0 (diff)
When piping tshark to something else, run it with run_and_catch_crashes.
That got the crash information in the WPA EAPOL Rekey test; use it for all other tests where, otherwise, the crash information would be lost. Change-Id: I230b7952b6d79ebf6dc003747dc05328616ef7c2 Reviewed-on: https://code.wireshark.org/review/8394 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'test/suite-nameres.sh')
-rwxr-xr-xtest/suite-nameres.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/suite-nameres.sh b/test/suite-nameres.sh
index 8cef34f731..b04b36a74c 100755
--- a/test/suite-nameres.sh
+++ b/test/suite-nameres.sh
@@ -36,7 +36,7 @@ CUSTOM_PROFILE_NAME="Custom-$$"
# nameres.hosts_file_handling: False
# Profile: Default
name_resolution_net_t_ext_f_hosts_f_global() {
- env $TS_NR_ENV $TSHARK $TS_NR_ARGS \
+ $TESTS_DIR/run_and_catch_crashes env $TS_NR_ENV $TSHARK $TS_NR_ARGS \
-o "nameres.network_name: TRUE" \
-o "nameres.use_external_name_resolver: FALSE" \
-o "nameres.hosts_file_handling: FALSE" \
@@ -54,7 +54,7 @@ name_resolution_net_t_ext_f_hosts_f_global() {
# nameres.hosts_file_handling: False
# Profile: Default
name_resolution_net_t_ext_f_hosts_f_personal() {
- env $TS_NR_ENV $TSHARK $TS_NR_ARGS \
+ $TESTS_DIR/run_and_catch_crashes env $TS_NR_ENV $TSHARK $TS_NR_ARGS \
-o "nameres.network_name: TRUE" \
-o "nameres.use_external_name_resolver: FALSE" \
-o "nameres.hosts_file_handling: FALSE" \
@@ -72,7 +72,7 @@ name_resolution_net_t_ext_f_hosts_f_personal() {
# nameres.hosts_file_handling: False
# Profile: Custom
name_resolution_net_t_ext_f_hosts_f_custom() {
- env $TS_NR_ENV $TSHARK $TS_NR_ARGS \
+ $TESTS_DIR/run_and_catch_crashes env $TS_NR_ENV $TSHARK $TS_NR_ARGS \
-o "nameres.network_name: TRUE" \
-o "nameres.use_external_name_resolver: FALSE" \
-o "nameres.hosts_file_handling: FALSE" \
@@ -91,7 +91,7 @@ name_resolution_net_t_ext_f_hosts_f_custom() {
# nameres.hosts_file_handling: True
# Profile: Default
name_resolution_net_t_ext_f_hosts_t_global() {
- env $TS_NR_ENV $TSHARK $TS_NR_ARGS \
+ $TESTS_DIR/run_and_catch_crashes env $TS_NR_ENV $TSHARK $TS_NR_ARGS \
-o "nameres.network_name: TRUE" \
-o "nameres.use_external_name_resolver: FALSE" \
-o "nameres.hosts_file_handling: TRUE" \
@@ -109,7 +109,7 @@ name_resolution_net_t_ext_f_hosts_t_global() {
# nameres.hosts_file_handling: True
# Profile: Default
name_resolution_net_t_ext_f_hosts_t_personal() {
- env $TS_NR_ENV $TSHARK $TS_NR_ARGS \
+ $TESTS_DIR/run_and_catch_crashes env $TS_NR_ENV $TSHARK $TS_NR_ARGS \
-o "nameres.network_name: TRUE" \
-o "nameres.use_external_name_resolver: FALSE" \
-o "nameres.hosts_file_handling: TRUE" \
@@ -127,7 +127,7 @@ name_resolution_net_t_ext_f_hosts_t_personal() {
# nameres.hosts_file_handling: True
# Profile: Custom
name_resolution_net_t_ext_f_hosts_t_custom() {
- env $TS_NR_ENV $TSHARK $TS_NR_ARGS \
+ $TESTS_DIR/run_and_catch_crashes env $TS_NR_ENV $TSHARK $TS_NR_ARGS \
-o "nameres.network_name: TRUE" \
-o "nameres.use_external_name_resolver: FALSE" \
-o "nameres.hosts_file_handling: TRUE" \