From b92f892ae089679a80cb3ecc0217c5c0b8b700d8 Mon Sep 17 00:00:00 2001 From: Michael Rash Date: Thu, 9 May 2013 21:11:45 -0400 Subject: [PATCH] [test suite] minor bug fix for printing the number of test buckets to be executed --- test/test-fwknop.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-fwknop.pl b/test/test-fwknop.pl index 364aa183..634803dd 100755 --- a/test/test-fwknop.pl +++ b/test/test-fwknop.pl @@ -581,7 +581,7 @@ for my $test_hr (@tests) { next unless &process_include_exclude(&get_msg($test_hr)); $test_buckets++; if ($test_limit > 0) { - last if $executed >= $test_limit; + last if $test_buckets >= $test_limit; } } &logr("[+] Total test buckets to execute: $test_buckets\n\n");