mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-29 05:17:59 +00:00
regression_test: Clarify message about skipping pivot root transitions
Signed-off-by: John Johansen <john.johansen@canonical.com> Acked-by: Christian Boltz <apparmor@cboltz.de>
This commit is contained in:
parent
0d6a2fa9e7
commit
031792c400
@ -156,10 +156,10 @@ genprofile $cur $cap "pivot_root:oldroot=$put_old $bad"
|
||||
do_test "put_old, bad new_root" fail "$put_old" "$new_root" "$test"
|
||||
|
||||
if [ "$(kernel_features_istrue namespaces/pivot_root)" != "true" ] ; then
|
||||
echo " kernel does not support pivot_root domain transitions skipping tests ..."
|
||||
echo " kernel does not support pivot_root domain transitions - skipping tests ..."
|
||||
elif [ "$(parser_supports 'pivot_root -> foo,')" != "true" ] ; then
|
||||
#pivot_root domain transitions not supported
|
||||
echo " parser does not support pivot root domain transitions skipping tests ..."
|
||||
echo " parser does not support pivot root domain transitions - skipping tests ..."
|
||||
else
|
||||
# Give sufficient perms and perform a profile transition
|
||||
genprofile $cap "pivot_root:-> $new_prof" -- image=$new_prof $cur
|
||||
|
Loading…
x
Reference in New Issue
Block a user