From 020e88bf7a46a089b94cc6ae962d5bada7233341 Mon Sep 17 00:00:00 2001 From: Justin Bedo Date: Wed, 29 Sep 2021 21:40:31 +1000 Subject: nixos/tests/docker-tools: check explicitly for file in exportImage --- nixos/tests/docker-tools.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/tests/docker-tools.nix') 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" ) ''; }) -- cgit 1.4.1