aboutsummaryrefslogtreecommitdiff
path: root/test/common-utils/mariner.sh
diff options
context:
space:
mode:
authorMark Phippard <markphip@gmail.com>2022-12-19 19:25:32 +0300
committerGitHub <noreply@github.com>2022-12-19 19:25:32 +0300
commitfede4055495a9d44efbb65848eb7799771d23f9b (patch)
treef1538e22ba38d63a038dd83830e09004db9e5999 /test/common-utils/mariner.sh
parent9af65a01c7052821daf7fbbf93e65698c9053f27 (diff)
Add support for mariner (#344)
Diffstat (limited to 'test/common-utils/mariner.sh')
-rwxr-xr-xtest/common-utils/mariner.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/common-utils/mariner.sh b/test/common-utils/mariner.sh
new file mode 100755
index 0000000..ab6cb6e
--- /dev/null
+++ b/test/common-utils/mariner.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 "${ID}" = "mariner"
+
+# Report result
+reportResults \ No newline at end of file