summaryrefslogtreecommitdiff
path: root/test/pacman/pmrule.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/pacman/pmrule.py')
-rw-r--r--test/pacman/pmrule.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/pacman/pmrule.py b/test/pacman/pmrule.py
index a91741be..0eec8ea9 100644
--- a/test/pacman/pmrule.py
+++ b/test/pacman/pmrule.py
@@ -32,6 +32,12 @@ class pmrule(object):
def __str__(self):
return self.rule
+ def snapshots_needed(self):
+ (testname, args) = self.rule.split("=")
+ if testname == "FILE_MODIFIED" or testname == "!FILE_MODIFIED":
+ return [args]
+ return []
+
def check(self, test):
"""
"""