summary refs log tree commit diff
path: root/nixos/tests/docker-tools.nix
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2021-12-02 22:26:05 +0000
committerRobert Hensing <robert@roberthensing.nl>2021-12-02 22:26:05 +0000
commitd0bcc212de13b1cd876bb8f01c90a8e8f42e25b6 (patch)
tree03b7bd0bccaf989922bb5601591d5b8ec23ead65 /nixos/tests/docker-tools.nix
parent48cfdc8ca57bbd88b3d16ddb0c83c2be6a643f8c (diff)
downloadnixpkgs-d0bcc212de13b1cd876bb8f01c90a8e8f42e25b6.tar
nixpkgs-d0bcc212de13b1cd876bb8f01c90a8e8f42e25b6.tar.gz
nixpkgs-d0bcc212de13b1cd876bb8f01c90a8e8f42e25b6.tar.bz2
nixpkgs-d0bcc212de13b1cd876bb8f01c90a8e8f42e25b6.tar.lz
nixpkgs-d0bcc212de13b1cd876bb8f01c90a8e8f42e25b6.tar.xz
nixpkgs-d0bcc212de13b1cd876bb8f01c90a8e8f42e25b6.tar.zst
nixpkgs-d0bcc212de13b1cd876bb8f01c90a8e8f42e25b6.zip
nixosTests.docker-tools: Use unique binary in test case
Diffstat (limited to 'nixos/tests/docker-tools.nix')
-rw-r--r--nixos/tests/docker-tools.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/docker-tools.nix b/nixos/tests/docker-tools.nix
index d2c2ca286ff..31c5a5909c3 100644
--- a/nixos/tests/docker-tools.nix
+++ b/nixos/tests/docker-tools.nix
@@ -388,7 +388,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
 
     with subtest("The image contains store paths referenced by the fakeRootCommands output"):
         docker.succeed(
-            "docker run --rm ${examples.layeredImageWithFakeRootCommands.imageName} /hello/bin/hello"
+            "docker run --rm ${examples.layeredImageWithFakeRootCommands.imageName} /hello/bin/layeredImageWithFakeRootCommands-hello"
         )
 
     with subtest("exportImage produces a valid tarball"):