[apparmor] [PATCH 1/4] tests: Fix test names in mount.sh regression test
Tyler Hicks
tyhicks at canonical.com
Mon Mar 24 19:19:13 UTC 2014
The first test number was missing the "A" prefix and the last test
number was not incremented.
This is nearly useless patch allows me to explain the following
mount.sh fix a little more clearly.
Signed-off-by: Tyler Hicks <tyhicks at canonical.com>
---
tests/regression/apparmor/mount.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/regression/apparmor/mount.sh b/tests/regression/apparmor/mount.sh
index 5cfa3fe..984b26b 100755
--- a/tests/regression/apparmor/mount.sh
+++ b/tests/regression/apparmor/mount.sh
@@ -56,7 +56,7 @@ then
fatalerror 'Unable to find a free loop device'
fi
-# TEST 1. Make sure can mount and umount unconfined
+# TEST A1. Make sure can mount and umount unconfined
runchecktest "MOUNT (unconfined)" pass mount ${loop_device} ${mount_point}
runchecktest "UMOUNT (unconfined)" pass umount ${loop_device} ${mount_point}
@@ -79,7 +79,7 @@ runchecktest "MOUNT (confined)" fail mount ${loop_device} ${mount_point}
genprofile
runchecktest "UMOUNT (confined)" fail umount ${loop_device} ${mount_point}
-# TEST A4. confine UMOUNT - cap sys_admin allows unmount
+# TEST A5. confine UMOUNT - cap sys_admin allows unmount
genprofile capability:sys_admin
runchecktest "UMOUNT (confined)" pass umount ${loop_device} ${mount_point}
--
1.9.1
More information about the AppArmor
mailing list