From a106c762efecc9ed00cae26dac02b19359b8dcf8 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Thu, 11 Jan 2018 08:27:52 -0800 Subject: [PATCH] Test: Fix the plugin check. Change-Id: I9724fa36070635bfd1392167eb362cf8631611fa Reviewed-on: https://code.wireshark.org/review/25267 Reviewed-by: Gerald Combs --- test/suite-clopts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/suite-clopts.sh b/test/suite-clopts.sh index eed4c2b46b..8a22ec226c 100755 --- a/test/suite-clopts.sh +++ b/test/suite-clopts.sh @@ -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"