5
0
mirror of git://git.proxmox.com/git/pve-common.git synced 2025-01-03 09:17:36 +03:00

test: section config: also test array entries in unknown section

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
This commit is contained in:
Fiona Ebner 2023-08-16 11:24:39 +02:00
parent d2a6411cab
commit 9c357928ef

View File

@ -219,6 +219,7 @@ my $with_unknown_data = {
type => 'bad',
common => 'omg',
unknownfield => 'shouldnotbehere',
unknownarray => ['entry1', 'entry2'],
},
},
order => enum(qw(t1 t2 invalid t3)),
@ -236,6 +237,8 @@ one: t2
bad: invalid
common omg
unknownfield shouldnotbehere
unknownarray entry1
unknownarray entry2
two: t3
field2 5