|
|
864398 |
diff --git a/systemtest/010-inspect.bats b/systemtest/010-inspect.bats
|
|
|
864398 |
index 26d8364..dea2c7d 100644
|
|
|
864398 |
--- a/systemtest/010-inspect.bats
|
|
|
864398 |
+++ b/systemtest/010-inspect.bats
|
|
|
864398 |
@@ -107,7 +107,7 @@ END_EXPECT
|
|
|
864398 |
remote_image=docker://docker.io/$arch/golang
|
|
|
864398 |
run_skopeo inspect --tls-verify=false --raw $remote_image
|
|
|
864398 |
remote=$(echo "$output" | jq -r '.manifests[0]["platform"]')
|
|
|
864398 |
- expect=$(echo "{\"architecture\":\"$arch\",\"os\":\"linux\"}" | jq)
|
|
|
864398 |
+ expect=$(echo "{\"architecture\":\"$arch\",\"os\":\"linux\"}" | jq .)
|
|
|
864398 |
expect_output --from="$remote" --substring "$expect" \
|
|
|
864398 |
"platform arch is not expected"
|
|
|
864398 |
done
|
|
|
864398 |
diff --git a/systemtest/helpers.bash b/systemtest/helpers.bash
|
|
|
864398 |
index 5e69d0d..765286a 100644
|
|
|
864398 |
--- a/systemtest/helpers.bash
|
|
|
864398 |
+++ b/systemtest/helpers.bash
|
|
|
864398 |
@@ -299,7 +299,7 @@ start_registry() {
|
|
|
864398 |
fi
|
|
|
864398 |
|
|
|
864398 |
if ! egrep -q "^$testuser:" $AUTHDIR/htpasswd; then
|
|
|
864398 |
- log_and_run $PODMAN run --rm --entrypoint htpasswd registry:2 \
|
|
|
864398 |
+ log_and_run $PODMAN run --rm --entrypoint htpasswd registry:2.6 \
|
|
|
864398 |
-Bbn $testuser $testpassword >> $AUTHDIR/htpasswd
|
|
|
864398 |
fi
|
|
|
864398 |
|
|
|
864398 |
@@ -332,7 +332,7 @@ start_registry() {
|
|
|
864398 |
log_and_run cp $CERT $TESTDIR/client-auth/
|
|
|
864398 |
fi
|
|
|
864398 |
|
|
|
864398 |
- log_and_run $PODMAN run -d --name $name "${reg_args[@]}" registry:2
|
|
|
864398 |
+ log_and_run $PODMAN run -d --name $name "${reg_args[@]}" registry:2.6
|
|
|
864398 |
|
|
|
864398 |
# Wait for registry to actually come up
|
|
|
864398 |
timeout=10
|