[apparmor] test-aa-easyprof.py fails because of UsrMove
Seth Arnold
seth.arnold at canonical.com
Mon Mar 3 20:14:43 UTC 2014
On Sat, Mar 01, 2014 at 09:41:38PM +0100, Christian Boltz wrote:
> @@ -2482,6 +2482,11 @@
> # Now that we have everything we need, import aa-easyprof
> import easyprof
>
> + # work around UsrMove
> + ls_path='/bin/ls'
> + if os.path.islink(ls_path):
> + ls_path='/usr/bin/ls'
> +
> # run the tests
> suite = unittest.TestSuite()
> suite.addTest(unittest.TestLoader().loadTestsFromTestCase(T))
The spacing around the new block looks strange, I don't think Python would
let this through. (It's funny, it looks like all-spaces to me, I'm not
sure how this got this screwed up.)
Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20140303/8e991a54/attachment.pgp>
More information about the AppArmor
mailing list