OSDN Git Service

tests/fw_cfg: Test 'reboot-timeout=-1' special value
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 29 Oct 2019 16:52:31 +0000 (17:52 +0100)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 1 Nov 2019 18:19:24 +0000 (19:19 +0100)
commiteda4e62cc2f5d12fcedcf799a5a3f9eba855ad77
tree1256a1f50c0ba5cfb0ab463a492c2dc97638c212
parent20a192203222efde055df688cc344f9efb87c372
tests/fw_cfg: Test 'reboot-timeout=-1' special value

The special value -1 means "don't reboot" for QEMU/libvirt.
Add a trivial test.

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
tests/fw_cfg-test.c