diff options
Diffstat (limited to 'test/common-utils/alternate-values.sh')
-rwxr-xr-x | test/common-utils/alternate-values.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/common-utils/alternate-values.sh b/test/common-utils/alternate-values.sh new file mode 100755 index 0000000..d208a27 --- /dev/null +++ b/test/common-utils/alternate-values.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +set -e + +# Optional: Import test library +source dev-container-features-test-lib + +# Definition specific tests +check "non-root user" id alternate +check "running as root" test "$(whoami)" = "root" +check "jq" jq --version +check "curl" curl --version +check "git" git --version +check "ps" ps --version +check "no zsh" bash -c '! zsh --version' +check "No Oh My Zsh!" test ! -e /home/alternate/.oh-my-zsh/custom/themes/devcontainers.zsh-theme + +# Report result +reportResults
\ No newline at end of file |