aboutsummaryrefslogblamecommitdiff
path: root/test/common-utils/config-subdirectory.sh
blob: ba67fb68f4c544aaa833c8dd4c139e1630ea1e23 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                                                                   
#!/bin/bash

set -e

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

# Definition specific tests
check "owned-config-sub-directory" bash -c "ls -ld ~/.config/subdirectory | awk '{print $3}' | grep 'devcontainer'"
check "owned-config-directory" bash -c "ls -ld ~/.config | awk '{print $3}' | grep 'devcontainer'"

# Report result
reportResults