From 234b191b9a30cb5549211e1ed70dd8432c040be3 Mon Sep 17 00:00:00 2001 From: Jacob Woffenden Date: Wed, 21 Feb 2024 08:08:14 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20Add=20OS=20version=20test=20(#11)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add OS version test Signed-off-by: Jacob Woffenden --- test/container-structure-test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/container-structure-test.yml b/test/container-structure-test.yml index 24ef86b..7e6bdb6 100644 --- a/test/container-structure-test.yml +++ b/test/container-structure-test.yml @@ -5,6 +5,11 @@ containerRunOptions: user: "analyticalplatform" commandTests: + - name: "ubuntu" + command: "grep" + args: ["DISTRIB_RELEASE", "/etc/lsb-release"] + expectedOutput: ["DISTRIB_RELEASE=22.04"] + - name: "whoami" command: "whoami" expectedOutput: ["analyticalplatform"]