From a9cbd15260b396c38b7d5ffe5669994e65f9a86f Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 3 Jan 2011 18:32:43 -0600 Subject: pactest: correctly write epoch and force as necessary We were missing this in a few places; also add the ability to check the outcome via a new rule type. Signed-off-by: Dan McGee --- test/pacman/pmdb.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/pacman/pmdb.py') diff --git a/test/pacman/pmdb.py b/test/pacman/pmdb.py index c2753370..60460ce2 100755 --- a/test/pacman/pmdb.py +++ b/test/pacman/pmdb.py @@ -252,6 +252,8 @@ class pmdb: data.append(_mksection("SIZE", pkg.size)) if pkg.reason: data.append(_mksection("REASON", pkg.reason)) + if pkg.epoch: + data.append(_mksection("EPOCH", pkg.epoch)) else: data.append(_mksection("FILENAME", pkg.filename())) if pkg.replaces: -- cgit v1.2.3