From ce11958aab51b5fcc514cb1253bcff96c2a85df4 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 19 Oct 2020 15:32:25 +0200 Subject: [PATCH] tests: do not use for-loop for globs they are rather inefficient for this Signed-off-by: Thomas Lamprecht --- test/run_config2command_tests.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/run_config2command_tests.pl b/test/run_config2command_tests.pl index b08968f7..8011265a 100755 --- a/test/run_config2command_tests.pl +++ b/test/run_config2command_tests.pl @@ -401,7 +401,7 @@ print "testing config to command stabillity\n"; if (my $file = shift) { do_test $file; } else { - foreach my $file () { + while (my $file = ) { do_test $file; } }