diff --git a/nixos/tests/docker-tools.nix b/nixos/tests/docker-tools.nix index 1f0088d63fda..a3ab5826960e 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" ) ''; })