3
0
Fork 0
forked from mirrors/nixpkgs

tests/misc.nix: Test nixos-rebuild --help

This commit is contained in:
Eelco Dolstra 2013-05-14 15:17:58 +02:00
parent 95d02c0c40
commit 73a03ab205

View file

@ -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 ]");