aboutsummaryrefslogtreecommitdiff
path: root/test/node/non_root_user.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/node/non_root_user.sh')
-rwxr-xr-xtest/node/non_root_user.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/node/non_root_user.sh b/test/node/non_root_user.sh
new file mode 100755
index 0000000..6b6804d
--- /dev/null
+++ b/test/node/non_root_user.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+set -e
+
+# Optional: Import test library
+source dev-container-features-test-lib
+
+# Definition specific tests
+check "version" node --version
+check "nvm" bash -c ". /usr/local/share/nvm/nvm.sh && nvm install 10"
+
+# Report result
+reportResults \ No newline at end of file