pactest: use actual regexes in OUTPUT rules
commitd68635e7c2bc38343a58a8f9cddf95960fa642be
authorDan McGee <dan@archlinux.org>
Tue, 1 Mar 2011 20:24:13 +0000 (1 14:24 -0600)
committerDan McGee <dan@archlinux.org>
Tue, 1 Mar 2011 20:24:13 +0000 (1 14:24 -0600)
tree07198aea7d63e1ee4462473d02658a3970cdb51a
parentb12be99c8925e758554076c87294b4af10ebf05e
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 <dan@archlinux.org>
14 files changed:
test/pacman/tests/deptest001.py
test/pacman/tests/ignore007.py
test/pacman/tests/ldconfig001.py
test/pacman/tests/ldconfig002.py
test/pacman/tests/ldconfig003.py
test/pacman/tests/query001.py
test/pacman/tests/query002.py
test/pacman/tests/query003.py
test/pacman/tests/query004.py
test/pacman/tests/query005.py
test/pacman/tests/sync1100.py
test/pacman/tests/sync1101.py
test/pacman/tests/sync1103.py
test/pacman/util.py