13 lines
557 B
Diff
13 lines
557 B
Diff
diff --git i/utils/test/test-aa-notify.py w/utils/test/test-aa-notify.py
|
|
index 40dacd96..2484c7f9 100644
|
|
--- i/utils/test/test-aa-notify.py
|
|
+++ w/utils/test/test-aa-notify.py
|
|
@@ -189,6 +189,7 @@ optional arguments:
|
|
result = 'Got output "%s", expected "%s"\n' % (output, expected_output_has)
|
|
self.assertIn(expected_output_has, output, result + output)
|
|
|
|
+ @unittest.skipUnless(os.path.isfile('/var/log/wtmp'), 'Requires wtmp on system')
|
|
def test_entries_since_login(self):
|
|
'''Test showing log entries since last login'''
|
|
|