Expand description
Utilities used for test setups.
Structs§
- Background
Process - A background process.
Enums§
- Error
- An error that may occur when using test utils.
Functions§
- admin_
credentials - Creates an
AdminCredentialsfrom config data. - create_
full_ credentials - Creates a list of [
FullCredentials] for a list of [UserId]s. - get_
tmp_ config - Returns a configuration file with
dataas contents in a temporary location. - list_
files_ in_ dir - Recursively lists files, their permissions and ownership.
- prepare_
system_ with_ config - Prepares a system for use with Signstar.
- signstar_
config - Creates a
SignstarConfigfrom config data. - start_
credentials_ socket - Starts a socket for
io.systemd.Credentialsusingsystemd-socket-activate. - write_
machine_ id - Writes a dummy
/etc/machine-id, which is required for systemd-creds.