reboottest

package
v0.0.0-...-bbc9ce3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2021 License: BSD-2-Clause Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL