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 <[email protected]> --- 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 -- AppArmor mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
