summaryrefslogtreecommitdiff
path: root/test/system/750-trust.bats
diff options
context:
space:
mode:
Diffstat (limited to 'test/system/750-trust.bats')
-rw-r--r--test/system/750-trust.bats3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/system/750-trust.bats b/test/system/750-trust.bats
index f06df35e7..0d04c33dc 100644
--- a/test/system/750-trust.bats
+++ b/test/system/750-trust.bats
@@ -37,8 +37,7 @@ load helpers
subset=$(jq -r '.[1] | .repo_name, .type' <<<"$output" | fmt)
is "$subset" "docker.io accept" "--json, docker.io should now be accept"
- run cat $policypath
- policy=$output
+ policy="$(< $policypath)"
run_podman image trust show --policypath=$policypath --raw
is "$output" "$policy" "output should show match content of policy.json"
}