summary refs log tree commit diff
path: root/nixos/tests/docker-tools.nix
diff options
context:
space:
mode:
authorJustin Bedo <cu@cua0.org>2021-09-29 21:40:31 +1000
committerJustin Bedo <cu@cua0.org>2021-09-29 21:40:31 +1000
commit020e88bf7a46a089b94cc6ae962d5bada7233341 (patch)
treecc16717eb73176c739acfa78d0061a6e7e703f63 /nixos/tests/docker-tools.nix
parent1a0edf135a3000a6af7200d4f2e4e344922f186d (diff)
downloadnixpkgs-020e88bf7a46a089b94cc6ae962d5bada7233341.tar
nixpkgs-020e88bf7a46a089b94cc6ae962d5bada7233341.tar.gz
nixpkgs-020e88bf7a46a089b94cc6ae962d5bada7233341.tar.bz2
nixpkgs-020e88bf7a46a089b94cc6ae962d5bada7233341.tar.lz
nixpkgs-020e88bf7a46a089b94cc6ae962d5bada7233341.tar.xz
nixpkgs-020e88bf7a46a089b94cc6ae962d5bada7233341.tar.zst
nixpkgs-020e88bf7a46a089b94cc6ae962d5bada7233341.zip
nixos/tests/docker-tools: check explicitly for file in exportImage
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"
         )
   '';
 })