[apparmor] [test] small regression stress test

John Johansen john.johansen at canonical.com
Sun Mar 30 12:08:36 UTC 2014

This little script is a small stress test based on the regression tests I
have been using to do multiple concurrent regression test runs.

It sets each regression test run up in its own policy namespace so they
don't interfere with each other. It needs work work before its ready to
go in as a test (cleanup namespaces, do something proper with USE_SYSTEM,

but is useful in its current form



for f in `seq 1 5` ; do
  echo "profile foo { }" | apparmor_parser -n foo$f
  aa-exec -p :foo$f:unconfined make tests &
  sleep 30

sleep 30
make tests

More information about the AppArmor mailing list