summary refs log tree commit diff
path: root/nixos/tests/docker-tools.nix
diff options
context:
space:
mode:
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 1f0088d63fd..a3ab5826960 100644
--- a/nixos/tests/docker-tools.nix
+++ b/nixos/tests/docker-tools.nix
@@ -381,7 +381,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
 
     with subtest("exportImage produces a valid tarball"):
         docker.succeed(
-            "tar -tf ${examples.exportBash} > /dev/null"
+            "tar -tf ${examples.exportBash} | grep '\./bin/bash' > /dev/null"
         )
   '';
 })