]> git.proxmox.com Git - qemu-server.git/commit
cfg2cmd test: add tests for multifunction devices
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 9 Dec 2019 09:10:03 +0000 (10:10 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 9 Dec 2019 10:30:14 +0000 (11:30 +0100)
commit0360faadc70332ea060d67fe02e515ed078049f4
tree0ae28e8380e1c95a36826f65ee76120ab3de50e7
parentdb40988ec90b64298f3beb0d93341ccef66f428a
cfg2cmd test: add tests for multifunction devices

by mocking the lspci call

the mocked lspci code is basically the same as the real one,
only difference is the source of the devices and
there is no verbose flag

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
test/cfg2cmd/q35-linux-hostpci-multifunction.conf [new file with mode: 0644]
test/cfg2cmd/q35-linux-hostpci-multifunction.conf.cmd [new file with mode: 0644]
test/run_config2command_tests.pl