aboutsummaryrefslogtreecommitdiff
path: root/test/common-utils/username-detected.sh
blob: 39c1b29986bfd5643a2c0b493e411819535d220a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

set -e

# Optional: Import test library
source dev-container-features-test-lib

# Definition specific tests
. /etc/os-release
# .oh-my-zsh folder would only exist if user detection worked
check "non-root user" ls /home/node/.oh-my-zsh

# Report result
reportResults