Test: Fix the plugin check.

Change-Id: I9724fa36070635bfd1392167eb362cf8631611fa
Reviewed-on: https://code.wireshark.org/review/25267
Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
Gerald Combs 2018-01-11 08:27:52 -08:00
parent 690f1c3c40
commit a106c762ef
1 changed files with 2 additions and 2 deletions

View File

@ -329,8 +329,8 @@ test_dump_glossary_utf8() {
test_dump_glossary_plugins() {
# We do a similar test in fuzz-test.sh.
$TSHARK -G plugins > /dev/null 2> ./testout.txt
PLUGIN_COUNT=$( grep dissectors ./testout.txt | wc -l )
$TSHARK -G plugins > ./testout.txt 2> /dev/null
PLUGIN_COUNT=$( grep dissector ./testout.txt | wc -l )
if [ $PLUGIN_COUNT -lt 10 ] ; then
test_step_output_print ./testout.txt
test_step_failed "Fewer than 10 dissector plugins found"