apparmor/tests/regression/subdomain/epilogue.inc
Steve Beattie 6d3e74907d Import the rest of the core functionality of the internal apparmor
development tree (trunk branch). From svn repo version 6381.
2006-04-11 21:52:54 +00:00

18 lines
258 B
PHP
Executable file

if [ -n "$do_onexit" ]
then
$do_onexit
fi
if [ -n "$subdomain" -a -f "$profile" -a ${profileloaded:-0} -eq 1 ]
then
removeprofile
fi
if [ "$retaintmpdir" = "true" ]
then
echo "Files retained in: $tmpdir"
else
rm -rf $tmpdir
fi
exit $num_testfailures