Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/pactest/tests/sync050.py
diff options
context:
space:
mode:
Diffstat (limited to 'pactest/tests/sync050.py')
-rw-r--r--pactest/tests/sync050.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pactest/tests/sync050.py b/pactest/tests/sync050.py
index 6c7619be..1ed697f3 100644
--- a/pactest/tests/sync050.py
+++ b/pactest/tests/sync050.py
@@ -4,7 +4,8 @@ sp1 = pmpkg("pkg1")
sp1.provides = ["pkg2"]
self.addpkg2db("sync", sp1);
-self.args = "-S pkg2"
+self.args = "-S %s" % sp1.name
self.addrule("PACMAN_RETCODE=0")
self.addrule("PKG_EXIST=pkg1")
+self.addrule("!PKG_EXIST=pkg2")