1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-09-30 17:47:23 +00:00

Fix operators in UEFI post-install load check

&! is not a thing, and os-autoinst has been warning us about
this forever:

Use of uninitialized value in bitwise and (&) at fedora/main.pm line 310.

I just sorta didn't notice. Apparently this turned out to work,
but it wasn't *right*. Let's do it this way instead.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-02-20 15:41:04 -08:00
parent 9bc039b26d
commit e45fc488fc

View File

@ -307,7 +307,7 @@ sub load_postinstall_tests() {
} }
autotest::loadtest $storagepost if ($storagepost); autotest::loadtest $storagepost if ($storagepost);
if (get_var("UEFI") &! get_var("NO_UEFI_POST") &! get_var("START_AFTER_TEST")) { if (get_var("UEFI") && !get_var("NO_UEFI_POST") && !get_var("START_AFTER_TEST")) {
autotest::loadtest "tests/uefi_postinstall.pm"; autotest::loadtest "tests/uefi_postinstall.pm";
} }