File tree Expand file tree Collapse file tree
test/scenarios-bootc/periodics Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,27 +11,21 @@ IMAGE_SIGSTORE_ENABLED=true
1111start_image=rhel96-bootc-crel-optionals
1212
1313scenario_create_vms () {
14- if ! does_image_exist " ${start_image} " ; then
15- echo " Image '${start_image} ' not found - skipping test"
16- return 0
17- fi
14+ exit_if_image_not_found " ${start_image} "
15+
1816 prepare_kickstart host1 kickstart-bootc.ks.template " ${start_image} "
1917 launch_vm --boot_blueprint rhel96-bootc
2018}
2119
2220scenario_remove_vms () {
23- if ! does_image_exist " ${start_image} " ; then
24- echo " Image '${start_image} ' not found - skipping test"
25- return 0
26- fi
21+ exit_if_image_not_found " ${start_image} "
22+
2723 remove_vm host1
2824}
2925
3026scenario_run_tests () {
31- if ! does_image_exist " ${start_image} " ; then
32- echo " Image '${start_image} ' not found - skipping test"
33- return 0
34- fi
27+ exit_if_image_not_found " ${start_image} "
28+
3529 # Run a minimal test for this scenario as its main functionality is
3630 # to verify container image signature check is enabled
3731 run_tests host1 \
You can’t perform that action at this time.
0 commit comments