15 lines
271 B
Bash
15 lines
271 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
# Import test library for `check` command
|
||
|
source dev-container-features-test-lib
|
||
|
|
||
|
# Check to make sure the user is vscode
|
||
|
check "user is vscode" whoami | grep vscode
|
||
|
|
||
|
# TFSec specific tests
|
||
|
check "tfsec" tfsec --version
|
||
|
|
||
|
# Report result
|
||
|
reportResults
|