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:
parent
7b9d1adeb2
commit
c29213f0ef
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user