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/query003.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/pacman/tests/query003.py') diff --git a/test/pacman/tests/query003.py b/test/pacman/tests/query003.py index 41b8a45b..01468c7a 100644 --- a/test/pacman/tests/query003.py +++ b/test/pacman/tests/query003.py @@ -8,4 +8,4 @@ self.addpkg2db("local", p) self.args = "-Qs %s" % p.name self.addrule("PACMAN_RETCODE=0") -self.addrule("PACMAN_OUTPUT=%s" % p.name) +self.addrule("PACMAN_OUTPUT=^local/%s" % p.name) -- cgit v1.2.3