mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-10-04 20:48:29 +00:00
tests: simplify outputting available migration test names
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
5591892520
commit
1edeff742d
@ -1532,10 +1532,7 @@ my $tests = [
|
|||||||
my $single_test_name = shift;
|
my $single_test_name = shift;
|
||||||
|
|
||||||
if (defined($single_test_name) && $single_test_name eq 'DUMP_NAMES') {
|
if (defined($single_test_name) && $single_test_name eq 'DUMP_NAMES') {
|
||||||
my $output = '';
|
my $output = join(' ', map { $_->{name} } $tests->@*);
|
||||||
foreach my $test (@{$tests}) {
|
|
||||||
$output .= $test->{name} . ' ';
|
|
||||||
}
|
|
||||||
print "$output\n";
|
print "$output\n";
|
||||||
exit 0;
|
exit 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user