On Sat, Sep 29, 2012 at 02:20:28AM -0700, John Johansen wrote:
> The apparmor coredump regression test was broken.
> 
> It failed to remove coredump files named "core"
> 
> It failed to properly detect "core.<pid>" files
> 
> And it would fail if the coredump_pattern had been modified to
> a different location.
> 
> This lead one of the tests to report it was passing when it
> wasn't because it was detecting the previous tests core file.
> 
> Fix the test to set the coredump_pattern, to dump into the
> tmpdir used for the test.
> 
> Make it so it will only detect the core file for the pid of
> the last test run.
> 
> And extend the test to have a couple of extra test cases.
> 
> Signed-off-by: John Johansen <[email protected]>

Acked-by: Kees Cook <[email protected]>

-- 
Kees Cook

-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to