From 031792c400842e82f13e148e19afd0cc6e13c27f Mon Sep 17 00:00:00 2001 From: John Johansen Date: Thu, 7 Sep 2017 13:01:23 -0700 Subject: [PATCH] regression_test: Clarify message about skipping pivot root transitions Signed-off-by: John Johansen Acked-by: Christian Boltz --- tests/regression/apparmor/pivot_root.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/regression/apparmor/pivot_root.sh b/tests/regression/apparmor/pivot_root.sh index 0e13a0abd..960216cf0 100755 --- a/tests/regression/apparmor/pivot_root.sh +++ b/tests/regression/apparmor/pivot_root.sh @@ -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