TEST-58-REPART: use $ID_LIKE to check the os is Alpine or Nura
All other places use $ID_LIKE to detect Alpine/Nura. (cherry picked from commit 0640dd91fca4f05ebfc22dcfb71c08cb5ef43c68)
This commit is contained in:
committed by
Luca Boccassi
parent
6f11f24642
commit
d471026d72
@@ -1599,8 +1599,8 @@ EOF
|
||||
testcase_verity_encrypt() {
|
||||
local defs imgs output loop drh hrh part_size dm_devno verity_dep
|
||||
|
||||
if ( . /etc/os-release && [[ "$ID" == "postmarketos" ]] ); then
|
||||
echo "Skipping verity+encrypt test on postmarketOS."
|
||||
if ( . /etc/os-release && [[ "${ID_LIKE:-}" == "alpine" ]] ); then
|
||||
echo "Skipping verity+encrypt test on Alpine/Nura."
|
||||
return
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user