forked from osmocom/wireshark
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:
parent
690f1c3c40
commit
a106c762ef
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue