mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-06 07:46:53 +00:00
tests: do not use for-loop for globs
they are rather inefficient for this Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
6ef6d68f6c
commit
ce11958aab
@ -401,7 +401,7 @@ print "testing config to command stabillity\n";
|
||||
if (my $file = shift) {
|
||||
do_test $file;
|
||||
} else {
|
||||
foreach my $file (<cfg2cmd/*.conf>) {
|
||||
while (my $file = <cfg2cmd/*.conf>) {
|
||||
do_test $file;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user