Documentation ¶
Overview ¶
Package reboottest tests reboot cleanliness based on how the OS is being rebooted.
Index ¶
Constants ¶
View Source
const ( CleanReboot = iota UncleanReboot )
Variables ¶
This section is empty.
Functions ¶
func RebootWithCommand ¶
func RebootWithCommand(t *testing.T, cmd string, kind ExpectedRebootType, zbi_name string)
RebootWithCommand is a test helper that boots a qemu instance then reboots it by issuing cmd.
Types ¶
type ExpectedRebootType ¶
type ExpectedRebootType int
ExpectedRebootType declares what is the expectation for the reboot cleanliness.
Click to show internal directories.
Click to hide internal directories.