From ba2f5a7ecb78d8cb9e89d0e6199a446261dd91c8 Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Thu, 7 Dec 2023 17:00:32 +0200 Subject: [PATCH] Fix a boolean condition in filesystem.sh --- test/cases/filesystem.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/cases/filesystem.sh b/test/cases/filesystem.sh index 9f01d470c..ff38695c3 100644 --- a/test/cases/filesystem.sh +++ b/test/cases/filesystem.sh @@ -181,7 +181,7 @@ mountpoint = "/boot" size = 131072000 EOF -if not nvrGreaterOrEqual "osbuild-composer" "94"; then +if ! nvrGreaterOrEqual "osbuild-composer" "94"; then tee -a "$BLUEPRINT_FILE" > /dev/null << EOF [[customizations.filesystem]] @@ -289,7 +289,7 @@ mountpoint = "/sysroot" size = 131072000 EOF -if not nvrGreaterOrEqual "osbuild-composer" "94"; then +if ! nvrGreaterOrEqual "osbuild-composer" "94"; then tee -a "$BLUEPRINT_FILE" > /dev/null << EOF [[customizations.filesystem]] @@ -319,7 +319,7 @@ for MOUNTPOINT in '/etc' '/sys' '/proc' '/dev' '/run' '/bin' '/sbin' '/lib' '/li fi done -if not nvrGreaterOrEqual "osbuild-composer" "94"; then +if ! nvrGreaterOrEqual "osbuild-composer" "94"; then for MOUNTPOINT in '/usr/bin' '/var/run' '/var/lock'; do if ! [[ $ERROR_MSG == *"$MOUNTPOINT"* ]]; then FAILED_MOUNTPOINTS+=("$MOUNTPOINT")