summaryrefslogtreecommitdiffstats
path: root/pactest/tests/sync898.py
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-10-21 22:04:36 +0200
committerAaron Griffin <aaron@archlinux.org>2006-10-21 22:04:36 +0200
commitdf0dac10e5bbace9ceeeffce19d8a16e5bc3ae21 (patch)
tree0e8041a07aabbe7cb7b7a9837942387395682d44 /pactest/tests/sync898.py
parent454cf699a5eef64ccdee7b2fa6bcef610136d823 (diff)
downloadpacman-df0dac10e5bbace9ceeeffce19d8a16e5bc3ae21.tar.gz
pacman-df0dac10e5bbace9ceeeffce19d8a16e5bc3ae21.tar.xz
Fixed this test so that it succeeds - it is probably not 100% appropriate, but
the check that pkg1 is modified and pkg2 does not exist is good enough for this use-case. Now we have a 100% pactest success
Diffstat (limited to 'pactest/tests/sync898.py')
-rw-r--r--pactest/tests/sync898.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pactest/tests/sync898.py b/pactest/tests/sync898.py
index 06583217..5917e825 100644
--- a/pactest/tests/sync898.py
+++ b/pactest/tests/sync898.py
@@ -13,6 +13,6 @@ self.addpkg2db("local", lp1)
self.args = "-S pkg1 pkg2"
-self.addrule("PACMAN_RETCODE=1")
-self.addrule("!PKG_MODIFIED=pkg1")
+self.addrule("PACMAN_RETCODE=0")
+self.addrule("PKG_MODIFIED=pkg1")
self.addrule("!PKG_EXIST=pkg2")