apparmor/utils/test
Steve Beattie 07bcb79b1d utils: use realpath of tmpdir in test-aa-easyprof.py
The relative directory tests in test-aa-easyprof.py were failing when
TMPDIR pointed to a directory that was a symlink, because the generated
tmpdir path was not the same as the realpath that easyprof resolved to.
This patch sets the tmpdir to the realpath of the result of the
tempfile.mkdtemp() to avoid the issue.

Signed-off-by: Steve Beattie <steve@nxnw.org>
Acked-by: Christian Boltz <apparmor@cboltz.de>
2014-03-05 13:13:39 -08:00
..
aa_test.py utils/: fix last make check failure, though the new utils tests need to 2014-02-13 11:32:36 -08:00
cleanprof_test.in Merge in Kshitij Gupta <kgupta8592@gmail.com>'s rewrite of the 2014-02-12 15:54:00 -08:00
cleanprof_test.out Merge in Kshitij Gupta <kgupta8592@gmail.com>'s rewrite of the 2014-02-12 15:54:00 -08:00
common_test.py Fix up execute permissions that were lost in the merger for some reason. 2014-02-12 16:59:27 -08:00
config_test.py Fix tests for new tools. 2014-02-28 16:09:00 +05:30
easyprof.conf This patchset is broken into 4 parts: 2012-05-07 22:37:48 -07:00
logprof.conf Merge in Kshitij Gupta <kgupta8592@gmail.com>'s rewrite of the 2014-02-12 15:54:00 -08:00
Makefile utils: add common symlink to test/ clean target, to compensate for 2014-02-27 16:47:06 -08:00
minitools_test.py utils: remove aa-enforce '--remove' option 2014-03-03 14:59:47 -08:00
regex_tests.ini Merge in Kshitij Gupta <kgupta8592@gmail.com>'s rewrite of the 2014-02-12 15:54:00 -08:00
runtests-py2.sh Fix up execute permissions that were lost in the merger for some reason. 2014-02-12 16:59:27 -08:00
runtests-py3.sh Fix up execute permissions that were lost in the merger for some reason. 2014-02-12 16:59:27 -08:00
severity.db Merge in Kshitij Gupta <kgupta8592@gmail.com>'s rewrite of the 2014-02-12 15:54:00 -08:00
severity_broken.db Merge in Kshitij Gupta <kgupta8592@gmail.com>'s rewrite of the 2014-02-12 15:54:00 -08:00
severity_test.py Fix up execute permissions that were lost in the merger for some reason. 2014-02-12 16:59:27 -08:00
test-aa-decode.py utils: fix path in test-aadecode.py and push make check into the test/ 2014-02-27 16:23:35 -08:00
test-aa-easyprof.py utils: use realpath of tmpdir in test-aa-easyprof.py 2014-03-05 13:13:39 -08:00