forked from mirrors/nixpkgs
tests/misc.nix: Test nixos-rebuild --help
This commit is contained in:
parent
95d02c0c40
commit
73a03ab205
|
@ -16,6 +16,10 @@
|
|||
$machine->succeed("[ `nixos-version | wc -w` = 1 ]");
|
||||
};
|
||||
|
||||
subtest "nixos-rebuild", sub {
|
||||
$machine->succeed("nixos-rebuild --help | grep 'Usage:'");
|
||||
};
|
||||
|
||||
# Sanity check for uid/gid assignment.
|
||||
subtest "users-groups", sub {
|
||||
$machine->succeed("[ `id -u messagebus` = 4 ]");
|
||||
|
|
Loading…
Reference in a new issue