File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
test/scenarios-bootc/releases Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -12,25 +12,32 @@ check_platform() {
1212}
1313
1414scenario_create_vms () {
15- if ! does_commit_exist " ${start_image} " ; then
15+ check_platform
16+ if ! does_image_exist " ${start_image} " ; then
1617 echo " Image '${start_image} ' not found - skipping test"
1718 return 0
1819 fi
1920
20- check_platform
21-
2221 prepare_kickstart host1 kickstart-bootc.ks.template " ${start_image} "
2322 launch_vm --boot_blueprint rhel96-bootc --fips
2423}
2524
2625scenario_remove_vms () {
2726 check_platform
27+ if ! does_image_exist " ${start_image} " ; then
28+ echo " Image '${start_image} ' not found - skipping test"
29+ return 0
30+ fi
2831
2932 remove_vm host1
3033}
3134
3235scenario_run_tests () {
3336 check_platform
37+ if ! does_image_exist " ${start_image} " ; then
38+ echo " Image '${start_image} ' not found - skipping test"
39+ return 0
40+ fi
3441
3542 run_tests host1 suites/fips/
3643}
You can’t perform that action at this time.
0 commit comments