summaryrefslogtreecommitdiff
path: root/pactest/tests/sync002.py
diff options
context:
space:
mode:
Diffstat (limited to 'pactest/tests/sync002.py')
-rw-r--r--pactest/tests/sync002.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pactest/tests/sync002.py b/pactest/tests/sync002.py
index 43c99fbd..a183f911 100644
--- a/pactest/tests/sync002.py
+++ b/pactest/tests/sync002.py
@@ -10,8 +10,9 @@ lp.files = ["bin/dummy",
"usr/man/man1/dummy.1"]
self.addpkg2db("local", lp)
-self.args = "-S dummy"
+self.args = "-S %s" % sp.name
+self.addrule("PACMAN_RETCODE=0")
self.addrule("PKG_VERSION=dummy|1.0-2")
for f in lp.files:
self.addrule("FILE_MODIFIED=%s" % f)