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; } }