5
0
mirror of git://git.proxmox.com/git/pve-guest-common.git synced 2025-01-11 05:17:49 +03:00

tests: add print_pending_delete ones

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-10-18 17:15:07 +02:00
parent 7b9d1adeb2
commit c29213f0ef

View File

@ -60,6 +60,24 @@ my $tests = [
},
]
},
{
method => 'print_pending_delete',
subtests => [
{
params => [{
cpu => { force => 0, },
memory => { force => 0, },
}],
expect => "memory,cpu",
},
{
params => [{ # we have no double negation, only simple stuff
'!memory' => { force => 1, },
}],
expect => "!!memory",
},
]
},
]; # tests definition end