summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKjetil Orbekk <kjetil.orbekk@gmail.com>2017-05-13 20:39:16 -0400
committerKjetil Orbekk <kjetil.orbekk@gmail.com>2017-05-13 20:39:16 -0400
commitaff51e2be25a9fd6920d0595470494c2a148b45b (patch)
treed84ce6c2d90fb4adce8485faca6489c2dadc9d9f /tests
parente55142389b9628e24c1094e2f9574713b02725dd (diff)
shape: Check for expected init file.
Diffstat (limited to 'tests')
-rw-r--r--tests/container-shape.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/container-shape.nix b/tests/container-shape.nix
index 441694f..c292d9f 100644
--- a/tests/container-shape.nix
+++ b/tests/container-shape.nix
@@ -20,5 +20,6 @@ import <nixpkgs/nixos/tests/make-test.nix> ( { pkgs, ... }: {
$machine->succeed("nixos-container list") =~ /shape2/ or die;
$machine->succeed("nixos-container start shape2");
$machine->succeed("nixos-container run shape2 -- hostname") =~ /shape/ or die;
+ $machine->succeed("nixos-container run shape2 -- test -e /init");
'';
})