Skip to content

Commit 72f01a8

Browse files
committed
fix check
1 parent 94f5acf commit 72f01a8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/scenarios-bootc/releases/[email protected]

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
IMAGE_SIGSTORE_ENABLED=true
99

1010
scenario_create_vms() {
11-
if [ -z "${LREL_RELEASE_IMAGE_URL}" ] || [[ "${LREL_RELEASE_IMAGE_URL}" != "" ]] ; then
12-
echo "ERROR: Failed to retrieve a bootc pull spec from '${LREL_RELEASE_IMAGE_URL}'"
11+
if [ -z "${LREL_RELEASE_IMAGE_URL}" ] || [[ "${LREL_RELEASE_IMAGE_URL}" == "" ]] ; then
12+
echo "ERROR: Scenario requires a valid LREL_RELEASE_IMAGE_URL, but got '${LREL_RELEASE_IMAGE_URL}'"
1313
exit 1
1414
fi
1515
prepare_kickstart host1 kickstart-bootc.ks.template "${LREL_RELEASE_IMAGE_URL}"

test/scenarios-bootc/releases/[email protected]

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
IMAGE_SIGSTORE_ENABLED=true
99

1010
scenario_create_vms() {
11-
if [ -z "${LREL_RELEASE_IMAGE_URL}" ] || [[ "${LREL_RELEASE_IMAGE_URL}" != "" ]] ; then
12-
echo "ERROR: Failed to retrieve a bootc pull spec from '${LREL_RELEASE_IMAGE_URL}'"
11+
if [ -z "${LREL_RELEASE_IMAGE_URL}" ] || [[ "${LREL_RELEASE_IMAGE_URL}" == "" ]] ; then
12+
echo "ERROR: Scenario requires a valid LREL_RELEASE_IMAGE_URL, but got '${LREL_RELEASE_IMAGE_URL}'"
1313
exit 1
1414
fi
1515
prepare_kickstart host1 kickstart-bootc.ks.template "${LREL_RELEASE_IMAGE_URL}"

0 commit comments

Comments
 (0)