Skip to content

Commit

Permalink
nixos/containers: Add regression test for NixOS#40355
Browse files Browse the repository at this point in the history
  • Loading branch information
arianvp committed Oct 8, 2018
1 parent bb31835 commit 0668906
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nixos/tests/containers-imperative.nix
Expand Up @@ -86,6 +86,9 @@ import ./make-test.nix ({ pkgs, ...} : {
# Execute commands via the root shell.
$machine->succeed("nixos-container run $id1 -- uname") =~ /Linux/ or die;
# Execute a nix command via the root shell. (regression test for #40355)
$machine->succeed("nixos-container run $id1 -- nix-instantiate -E 'derivation { name = \"empty\"; builder = \"false\"; system = \"false\"; }'");
# Stop and start (regression test for #4989)
$machine->succeed("nixos-container stop $id1");
$machine->succeed("nixos-container start $id1");
Expand Down

0 comments on commit 0668906

Please sign in to comment.