From f5cc0c366a24a4013bd1708dc6fbba69d1c8e5d8 Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@collabora.com>
Date: Mon, 15 Jun 2020 16:52:17 +0100
Subject: [PATCH] tests: Assert that pressure-vessel gets copied into the
 mutable sysroot

Signed-off-by: Simon McVittie <smcv@collabora.com>
---
 tests/containers.py | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/tests/containers.py b/tests/containers.py
index 1bed1c313..bd10c8a4b 100755
--- a/tests/containers.py
+++ b/tests/containers.py
@@ -517,6 +517,14 @@ class TestContainers(BaseTest):
         self.assertTrue(
             os.path.isdir(os.path.join(tree, 'overrides', 'lib')),
         )
+        self.assertTrue(
+            os.path.isfile(
+                os.path.join(
+                    tree, 'usr', 'lib', 'pressure-vessel', 'from-host',
+                    'bin', 'pressure-vessel-with-lock',
+                )
+            )
+        )
 
         for multiarch, arch_info in self.host_srsi_parsed.get(
             'architectures', {}
-- 
GitLab