nixos/tests/docker-tools: check explicitly for file in exportImage

This commit is contained in:
Justin Bedo 2021-09-29 21:40:31 +10:00
parent 1a0edf135a
commit 020e88bf7a
No known key found for this signature in database
GPG Key ID: 2C18202C56C182BD

View File

@ -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"
)
'';
})