Skip to content

Commit 4baac1c

Browse files
Merge pull request #4676 from ggiguash/enable_selinux_test_bootc
USHIFT-2911: Enable SELinux tests in standard suite for bootc images
2 parents f3d97a3 + 7d850c7 commit 4baac1c

File tree

5 files changed

+6
-12
lines changed

5 files changed

+6
-12
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,5 @@ scenario_remove_vms() {
1414
scenario_run_tests() {
1515
run_tests host1 \
1616
--variable "EXPECTED_OS_VERSION:9.6" \
17-
suites/standard1/
18-
# When SELinux is working on RHEL 9.6 bootc systems add following suite:
19-
# suites/selinux/validate-selinux-policy.robot
17+
suites/standard1/ suites/selinux/validate-selinux-policy.robot
2018
}
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ scenario_create_vms() {
3333
fi
3434

3535
prepare_kickstart host1 kickstart-bootc.ks.template "${bootc_spec}"
36-
launch_vm --boot_blueprint rhel94-bootc
36+
launch_vm --boot_blueprint rhel96-bootc
3737

3838
# Open the firewall ports. Other scenarios get this behavior by embedding
3939
# settings in the blueprint, but we cannot open firewall ports in published
@@ -58,7 +58,5 @@ scenario_run_tests() {
5858
run_tests host1 \
5959
--variable "EXPECTED_OS_VERSION:9.4" \
6060
--variable "IMAGE_SIGSTORE_ENABLED:True" \
61-
suites/standard1/
62-
# When SELinux is working on RHEL 9.6 bootc systems add following suite:
63-
# suites/selinux/validate-selinux-policy.robot
61+
suites/standard1/ suites/selinux/validate-selinux-policy.robot
6462
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ scenario_create_vms() {
3232
fi
3333

3434
prepare_kickstart host1 kickstart-bootc.ks.template "${bootc_spec}"
35-
launch_vm --boot_blueprint rhel94-bootc
35+
launch_vm --boot_blueprint rhel96-bootc
3636

3737
# Open the firewall ports. Other scenarios get this behavior by embedding
3838
# settings in the blueprint, but we cannot open firewall ports in published

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,5 @@ scenario_remove_vms() {
1414
scenario_run_tests() {
1515
run_tests host1 \
1616
--variable "EXPECTED_OS_VERSION:9.6" \
17-
suites/standard1/
18-
# When SELinux is working on RHEL 9.6 bootc systems add following suite:
19-
# suites/selinux/validate-selinux-policy.robot
17+
suites/standard1/ suites/selinux/validate-selinux-policy.robot
2018
}

test/scenarios/periodics/[email protected]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ scenario_remove_vms() {
1414
scenario_run_tests() {
1515
run_tests host1 \
1616
--variable "EXPECTED_OS_VERSION:9.4" \
17-
suites/standard1 suites/selinux/validate-selinux-policy.robot
17+
suites/standard1/ suites/selinux/validate-selinux-policy.robot
1818
}

0 commit comments

Comments
 (0)