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/ldconfig001.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/pacman/tests/ldconfig001.py') diff --git a/test/pacman/tests/ldconfig001.py b/test/pacman/tests/ldconfig001.py index 9ac2ff35..aa029ba5 100644 --- a/test/pacman/tests/ldconfig001.py +++ b/test/pacman/tests/ldconfig001.py @@ -9,4 +9,4 @@ self.args = "--debug -U %s" % p.filename() self.addrule("PACMAN_RETCODE=0") -self.addrule("PACMAN_OUTPUT=ldconfig") +self.addrule("PACMAN_OUTPUT=running ldconfig") -- cgit v1.2.3-54-g00ecf