From e143026408c2c00b96f43a47af0dcda3182835e4 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Sat, 20 Nov 2021 16:16:25 -0800 Subject: [PATCH] Check that an unreferenced package does not appear in the guest. --- checks/mount-grep.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/checks/mount-grep.nix b/checks/mount-grep.nix index f8fed0e..5be45d7 100644 --- a/checks/mount-grep.nix +++ b/checks/mount-grep.nix @@ -13,5 +13,8 @@ shared.succeed("[[ $(mount | grep -c virt) -gt 0 ]]") private.succeed("[[ $(mount | grep -c virt) -eq 0 ]]") + + shared.succeed("[[ -e ${pkgs.pv} ]]") + private.fail("[[ -e ${pkgs.pv} ]]") ''; } -- 2.44.1