From 1c0e06324c0168d48eb8d4125632ba7219f4f409 Mon Sep 17 00:00:00 2001
From: godog <godog@autistici.org>
Date: Sun, 16 Jan 2022 16:16:21 +0100
Subject: [PATCH] debian: add package tests

Run both the golang tests and make sure the exporter can start.
---
 debian/tests/control | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 debian/tests/control

diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..b6d6aaa
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Test-Command: systemctl is-active cgroups-exporter.service
+Restrictions: needs-root
+
-- 
GitLab