Skip to content

Skip test if it can not access /var/log/wtmp

David Runge requested to merge dvzrv/apparmor:issues/120 into master

utils/test/test-aa-notify.py: Change AANotifyTest.test_entries_since_login() to be decorated by a skipUnless() checking for existence of /var/log/wtmp (similar to AANotifyTest.test_entries_since_login_verbose()). The test otherwise fails trying to access /var/log/wtmp in environments where the file is not available.

Fixes #120 (closed)

Merge request reports