misc

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Copyright The Mantle Authors. SPDX-License-Identifier: Apache-2.0

Index

Constants

View Source
const (
	IgnitionConfigRootRaid = `` /* 1298-byte string literal not displayed */

	IgnitionConfigDataRaid = `` /* 965-byte string literal not displayed */

)

Variables

This section is empty.

Functions

func AuthVerify added in v0.1.4

func AuthVerify(c cluster.TestCluster)

AuthVerify asserts that invalid passwords do not grant access to the system

func Blacklist added in v0.8.0

func Blacklist(c cluster.TestCluster)

func CgroupV1Test added in v0.20.0

func CgroupV1Test(c cluster.TestCluster)

func CheckUserShells added in v0.1.5

func CheckUserShells(c cluster.TestCluster)

func CloudInitBasic added in v0.8.0

func CloudInitBasic(c cluster.TestCluster)

func CloudInitScript added in v0.8.0

func CloudInitScript(c cluster.TestCluster)

func DataOnRaid added in v0.7.0

func DataOnRaid(c cluster.TestCluster, userData *conf.UserData)
func DeadLinks(c cluster.TestCluster)

func Filesystem added in v0.6.0

func Filesystem(c cluster.TestCluster)

func InstallCloudConfig added in v0.4.0

func InstallCloudConfig(c cluster.TestCluster)

Verify that the coreos-install cloud-config path is used

func NFSv3

func NFSv3(c cluster.TestCluster)

Test that the kernel NFS server and client work within CoreOS.

func NFSv4

func NFSv4(c cluster.TestCluster)

Test that NFSv4 without security works.

func NTP

func NTP(c cluster.TestCluster)

Test that timesyncd starts using the local NTP server

func NetworkInitramfsSecondBoot added in v0.6.0

func NetworkInitramfsSecondBoot(c cluster.TestCluster)

Verify that networking is not started in the initramfs on the second boot. https://github.com/coreos/bugs/issues/1768

func NetworkListeners added in v0.1.5

func NetworkListeners(c cluster.TestCluster)

func OmahaPing

func OmahaPing(c cluster.TestCluster)

func OsReset added in v0.20.0

func OsReset(c cluster.TestCluster)

Check the OS reset logic with flatcar-reset to be able to reprovision the system while preserving selected paths.

func OverlayCleanup added in v0.20.0

func OverlayCleanup(c cluster.TestCluster)

Check that the overlay doesn't have unexpected upcopies, e.g., due to systemd-tmpfiles recreating the files/dirs or similar. Also check that duplicates get removed on reboot.

func RebootIntoUSRB added in v0.6.0

func RebootIntoUSRB(c cluster.TestCluster)

Check that we can reprioritize and boot into USR-B. This largely validates the other tests in this file.

func RecoverBadUsr added in v0.6.0

func RecoverBadUsr(c cluster.TestCluster)

Verify that we reboot into the old image when the new image is an unreasonable filesystem (an empty one) that passes verity.

func RecoverBadVerity added in v0.6.0

func RecoverBadVerity(c cluster.TestCluster)

Verify that we reboot into the old image after the new image fails a verity check.

func RootOnRaid added in v0.7.0

func RootOnRaid(c cluster.TestCluster, userData *conf.UserData)

func SGIDFiles added in v0.1.5

func SGIDFiles(c cluster.TestCluster)

func SUIDFiles added in v0.1.5

func SUIDFiles(c cluster.TestCluster)

func SelinuxBoolean added in v0.11.2

func SelinuxBoolean(c cluster.TestCluster)

SelinuxBoolean checks that you can tweak a boolean in the current session

func SelinuxBooleanPersist added in v0.11.2

func SelinuxBooleanPersist(c cluster.TestCluster)

SelinuxBooleanPersist checks that you can tweak a boolean and have it persist across reboots

func SelinuxEnforce added in v0.1.0

func SelinuxEnforce(c cluster.TestCluster)

SelinuxEnforce checks that some basic things work after `setenforce 1`

func SelinuxManage added in v0.11.2

func SelinuxManage(c cluster.TestCluster)

SelinuxManage checks that you can modify an SELinux file context and have it persist across reboots

func StickyDirs added in v0.4.0

func StickyDirs(c cluster.TestCluster)

The default permissions for the root of a tmpfs are 1777 https://github.com/coreos/bugs/issues/1812

func TestCgroup1Mounts added in v0.20.0

func TestCgroup1Mounts() error

func TestTLSFetchURLs added in v0.10.0

func TestTLSFetchURLs(c cluster.TestCluster)

func UpdateGrubNop added in v0.9.1

func UpdateGrubNop(c cluster.TestCluster)

func Verity added in v0.6.0

func Verity(c cluster.TestCluster)

func VerityCorruption added in v0.1.0

func VerityCorruption(c cluster.TestCluster)

VerityCorruption asserts that a machine will fail to read a file from a verify filesystem whose blocks have been modified.

func VerityVerify

func VerityVerify(c cluster.TestCluster)

VerityVerify asserts that the filesystem mounted on /usr matches the dm-verity hash that is embedded in the CoreOS kernel.

func WritableDirs added in v0.1.5

func WritableDirs(c cluster.TestCluster)

func WritableFiles added in v0.1.5

func WritableFiles(c cluster.TestCluster)

Types

This section is empty.

Jump to

Keyboard shortcuts

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