Temporary debugging hack, the sequel - fewer printouts, flush before crash.

Change-Id: I867c1f78554fc6fabd2579107fe679a6f6033c0c
Reviewed-on: https://code.wireshark.org/review/22199
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2017-06-17 18:01:13 -07:00
parent e77817cc92
commit fa3aa67817
2 changed files with 3 additions and 0 deletions

View File

@ -9267,6 +9267,8 @@ proto_registrar_dump_values(void)
units = NULL;
if (hfinfo->strings != NULL) {
fprintf(stderr, "Will dump %s value string\n", hfinfo->abbrev);
fflush(stderr);
if ((hfinfo->display & FIELD_DISPLAY_E_MASK) != BASE_CUSTOM &&
(hfinfo->type == FT_CHAR ||
hfinfo->type == FT_UINT8 ||

View File

@ -296,6 +296,7 @@ test_dump_glossary() {
RETURNVALUE=$?
if [ ! $RETURNVALUE -eq $EXIT_OK ]; then
test_step_failed "exit status: $RETURNVALUE"
test_step_failed "Error messages on stderr"
elif [ -s ./testout.txt ]; then
test_step_output_print ./testout.txt
test_step_failed "Error messages on stderr"