From 6e8f57272426e8eedcfae7b785dd093aa6808c0c Mon Sep 17 00:00:00 2001 From: William Metcalf Date: Fri, 4 Jun 2010 07:24:11 -0500 Subject: [PATCH] small operator fixes to qa script --- qa/wirefuzz.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qa/wirefuzz.pl b/qa/wirefuzz.pl index 08407bb62c..c7a1577d6d 100755 --- a/qa/wirefuzz.pl +++ b/qa/wirefuzz.pl @@ -332,7 +332,7 @@ while ( $successcnt < $loopnum ) { if ( $editcapexit ne 0 ) { #this could still cause us to loop forever if all pcaps are bad but it's better than nothing. - if ( @files lt 2 ) { + if ( @files < 2 ) { print "editcap: had an error and this was our only pcap:" . $editcaperr . "\n"; exit; } @@ -522,7 +522,7 @@ sub process_core_dump { print "gdb: core dump \n $core_dump"; } - elsif ( @coredumps gt 1 ) { + elsif ( @coredumps > 1 ) { print "gdb: multiple core dumps, please clear all core dumps and try the test again. We found:\n"; foreach my $corefile (@coredumps) { print $corefile . "\n";