Revert "tests: check mountpoints with matching suffixes"
This reverts commit ab306943d4.
This commit is contained in:
parent
a7fbe916b7
commit
1459531148
1 changed files with 3 additions and 3 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue