summaryrefslogtreecommitdiff
path: root/test/pacman/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/pacman/util.py')
-rwxr-xr-xtest/pacman/util.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/pacman/util.py b/test/pacman/util.py
index 802f22ec..0044f21b 100755
--- a/test/pacman/util.py
+++ b/test/pacman/util.py
@@ -154,6 +154,10 @@ def mkdescfile(filename, pkg):
data.append("provides = %s" % i)
for i in pkg.backup:
data.append("backup = %s" % i)
+ if pkg.epoch:
+ data.append("epoch = %d" % pkg.epoch)
+ if not pkg.force:
+ data.append("force = 1")
if pkg.force:
data.append("force = 1")