From d68635e7c2bc38343a58a8f9cddf95960fa642be Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 1 Mar 2011 14:24:13 -0600 Subject: pactest: use actual regexes in OUTPUT rules I managed to just make deptest001.py fail by changing a DEBUG-level logger in commit b12be99c89. This should not be this fickle. Enhance the OUTPUT rule to use an actual Python re object when looking for matches, and make a lot of the rules use stronger patterns to match with. Signed-off-by: Dan McGee --- test/pacman/tests/sync1103.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/pacman/tests/sync1103.py') diff --git a/test/pacman/tests/sync1103.py b/test/pacman/tests/sync1103.py index 052c7236..28b83f7e 100644 --- a/test/pacman/tests/sync1103.py +++ b/test/pacman/tests/sync1103.py @@ -8,4 +8,4 @@ self.addpkg2db("sync", sp) self.args = "-Sl" self.addrule("PACMAN_RETCODE=0") -self.addrule("PACMAN_OUTPUT=%s" % sp.name) +self.addrule("PACMAN_OUTPUT=^sync %s" % sp.name) -- cgit v1.2.3