[apparmor] [patch] some more globbing tests
Seth Arnold
seth.arnold at canonical.com
Mon Jul 28 03:30:36 UTC 2014
On Sat, Jul 26, 2014 at 07:15:58PM +0200, Christian Boltz wrote:
> Hello,
>
> this patch adds some more globbing tests for globs with extension,
> including filenames that contain a * wildcard and a .* regex wildcard.
>
Acked-by: Seth Arnold <seth.arnold at canonical.com>
Thanks
>
> === modified file 'utils/test/regex_tests.ini'
> --- utils/test/regex_tests.ini 2014-02-12 23:54:00 +0000
> +++ utils/test/regex_tests.ini 2014-07-26 17:13:34 +0000
> @@ -48,4 +48,19 @@
> /foo/user/bar/apparmor = True
> /foo/user/bar/apparmor/tools = False
> /foo/user/bar/ = False
> - /foo/user/bar/apparmor/ = False
> \ No newline at end of file
> + /foo/user/bar/apparmor/ = False
> +
> +[/foo/**.jpg]
> + /foo/bar/baz/foobar.jpg = True
> + /foo/bar/foobar.jpg = True
> + /foo/bar/*.jpg = True
> + /foo/bar.jpg = True
> + /foo/barjpg = False
> + /foo/.* = False
> + /foo/**.jpg = True
> + /foo/*.jpg = True
> + /bar.jpg = False
> + /**.jpg = False
> + /*.jpg = False
> + /foo/*.bar = False
> +
>
>
>
>
>
> Regards,
>
> Christian Boltz
> --
> Maybe you need to turn the chamaeleon (gecko) once more, 90 grades this
> time, with a silly grin and a rolling stones tongue coming out. ;-))
> [Eberhard Moenkeberg in opensuse]
>
>
> --
> AppArmor mailing list
> AppArmor at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20140727/48bf73a3/attachment.pgp>
More information about the AppArmor
mailing list