mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 22:05:27 +00:00
Add ".dpkg-remove" to apparmor parser ignored list
References: https://bugs.debian.org/893974
This commit is contained in:
committed by
Tyler Hicks
parent
f0876ea92a
commit
b4fa0cf9f6
@@ -452,26 +452,28 @@ class AaTest_is_skippable_file(AATest):
|
||||
def test_skippable_04(self):
|
||||
self.assertTrue(is_skippable_file('bin.ping..dpkg-bak'))
|
||||
def test_skippable_05(self):
|
||||
self.assertTrue(is_skippable_file('bin.ping.pacsave'))
|
||||
self.assertTrue(is_skippable_file('bin.ping.dpkg-remove'))
|
||||
def test_skippable_06(self):
|
||||
self.assertTrue(is_skippable_file('bin.ping.pacnew'))
|
||||
self.assertTrue(is_skippable_file('bin.ping.pacsave'))
|
||||
def test_skippable_07(self):
|
||||
self.assertTrue(is_skippable_file('bin.ping.rpmnew'))
|
||||
self.assertTrue(is_skippable_file('bin.ping.pacnew'))
|
||||
def test_skippable_08(self):
|
||||
self.assertTrue(is_skippable_file('bin.ping.rpmsave'))
|
||||
self.assertTrue(is_skippable_file('bin.ping.rpmnew'))
|
||||
def test_skippable_09(self):
|
||||
self.assertTrue(is_skippable_file('bin.ping.rpmsave'))
|
||||
def test_skippable_10(self):
|
||||
self.assertTrue(is_skippable_file('bin.ping.orig'))
|
||||
def test_skippable_10(self):
|
||||
def test_skippable_11(self):
|
||||
self.assertTrue(is_skippable_file('bin.ping.rej'))
|
||||
def test_skippable_10(self):
|
||||
self.assertTrue(is_skippable_file('bin.ping~'))
|
||||
def test_skippable_12(self):
|
||||
self.assertTrue(is_skippable_file('.bin.ping'))
|
||||
self.assertTrue(is_skippable_file('bin.ping~'))
|
||||
def test_skippable_13(self):
|
||||
self.assertTrue(is_skippable_file('')) # empty filename
|
||||
self.assertTrue(is_skippable_file('.bin.ping'))
|
||||
def test_skippable_14(self):
|
||||
self.assertTrue(is_skippable_file('/etc/apparmor.d/')) # directory without filename
|
||||
self.assertTrue(is_skippable_file('')) # empty filename
|
||||
def test_skippable_15(self):
|
||||
self.assertTrue(is_skippable_file('/etc/apparmor.d/')) # directory without filename
|
||||
def test_skippable_16(self):
|
||||
self.assertTrue(is_skippable_file('README'))
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user