Merge pull request #731 from vrothberg/inspect-test-fix

systemtest/010-inspect.bats: require only PATH
This commit is contained in:
Valentin Rothberg 2019-09-30 16:43:30 +02:00 committed by GitHub
commit fa6e58074d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,7 @@ END_EXPECT
# Simple check on 'inspect' output with environment variables.
# 1) Get remote image values of environment variables (the value of 'Env')
# 2) Confirm substring in check_array and the value of 'Env' match.
check_array=(DISTTAG=f[0-9]+container FGC=f[0-9]+ FBR=f[0-9]+)
check_array=(PATH=.* )
remote=$(echo "$inspect_remote" | jq '.Env[]')
for substr in ${check_array[@]}; do
expect_output --from="$remote" --substring "$substr"