From 1459531148ed18af8a91d8b2dc6936e6e88c9e98 Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Fri, 25 Feb 2022 13:47:06 +0200 Subject: [PATCH] Revert "tests: check mountpoints with matching suffixes" This reverts commit ab306943d42724cbfbcca5adaecfe7c2e6de2eb0. --- 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 a364389e4..3463d4a05 100644 --- a/test/cases/filesystem.sh +++ b/test/cases/filesystem.sh @@ -147,11 +147,11 @@ mountpoint = "/" size = 2147483648 [[customizations.filesystem]] -mountpoint = "/tmp" +mountpoint = "/var" size = 131072000 [[customizations.filesystem]] -mountpoint = "/var/tmp" +mountpoint = "/var/log" size = 131072000 [[customizations.filesystem]] @@ -175,7 +175,7 @@ greenprint "💬 Checking mountpoints" INFO="$(sudo /usr/libexec/osbuild-composer-test/image-info "${IMAGE_FILENAME}")" FAILED_MOUNTPOINTS=() -for MOUNTPOINT in '/' '/tmp' '/var/tmp' '/var/log/audit' '/usr'; do +for MOUNTPOINT in '/' '/var' '/var/log' '/var/log/audit' '/usr'; do EXISTS=$(jq -e --arg m "$MOUNTPOINT" 'any(.fstab[] | .[] == $m; .)' <<< "${INFO}") if $EXISTS; then greenprint "INFO: mountpoint $MOUNTPOINT exists"