From bf058dc49492b3a102a28ed25764a517fcebfb40 Mon Sep 17 00:00:00 2001 From: Chuck Lantz Date: Fri, 16 Dec 2022 09:47:21 -0800 Subject: Multi-distro support for common script, refactor, fixes (#326) --- test/common-utils/rocky-8.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 test/common-utils/rocky-8.sh (limited to 'test/common-utils/rocky-8.sh') diff --git a/test/common-utils/rocky-8.sh b/test/common-utils/rocky-8.sh new file mode 100755 index 0000000..f6606db --- /dev/null +++ b/test/common-utils/rocky-8.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +set -e + +# Optional: Import test library +source dev-container-features-test-lib + +# Definition specific tests +. /etc/os-release +check "non-root user" test "$(whoami)" = "devcontainer" +check "distro" test "${PLATFORM_ID}" = "platform:el8" + +# Report result +reportResults \ No newline at end of file -- cgit v1.2.3