Skip to content

Commit

Permalink
tests/cluster: fix wrong comparison (#340)
Browse files Browse the repository at this point in the history
Fixes commit 7b4d06a
  • Loading branch information
simondeziel authored Oct 31, 2024
2 parents df12ca8 + 289a95c commit 9fd2d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cluster
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ lxc query "/1.0/certificates/${unrestricted_fingerprint}" | jq -er '.restricted
lxc query "/1.0/certificates/${unrestricted_fingerprint}" | jq -er '.type == "client"'

if [ "${TEST_RESTRICTED}" = "1" ]; then
lxc query "/1.0/certificates/${restricted_fingerprint}" | jq -er '.restricted == false'
lxc query "/1.0/certificates/${restricted_fingerprint}" | jq -er '.restricted == true'
lxc query "/1.0/certificates/${restricted_fingerprint}" | jq -er '.type == "client"'
lxc query "/1.0/certificates/${restricted_fingerprint}" | jq -er '.projects[0] == "default"'
fi
Expand Down

0 comments on commit 9fd2d31

Please sign in to comment.