summaryrefslogtreecommitdiffstats
path: root/pactest/tests
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-05-30 06:12:44 +0200
committerDan McGee <dan@archlinux.org>2008-05-30 23:54:15 +0200
commit54e1e3e642d834d8c676db7f74e95c6e24b19eab (patch)
tree04d43254bbfcdc056ed2ae27282d8dcc4e95264c /pactest/tests
parent2cd0a87b3f63abacaa3548ae24f764c42e00a3ff (diff)
downloadpacman-54e1e3e642d834d8c676db7f74e95c6e24b19eab.tar.gz
pacman-54e1e3e642d834d8c676db7f74e95c6e24b19eab.tar.xz
Fix versioncmp regression after update
Commit 84283672853350a84d2a71b72dc06e180cad1587 introduced the regression, and a previous commit introduced the vercmptest.sh test script to track down these issues. This commit solves the problem by removing the previous attempt at locating the pkgrel portions and replacing it with something that performs the correct logic. While tracking down everything I needed to, I also found a mistake in one of the pactests which is fixed here as well as increased the functionality and verbosity of the vercmptest script to both print out each test it is running as well as automatically run the mirror of each test case. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'pactest/tests')
-rw-r--r--pactest/tests/upgrade058.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pactest/tests/upgrade058.py b/pactest/tests/upgrade058.py
index 76416802..109289ea 100644
--- a/pactest/tests/upgrade058.py
+++ b/pactest/tests/upgrade058.py
@@ -14,4 +14,4 @@ self.addpkg(p)
self.args = "-U %s" % p.filename()
self.addrule("PACMAN_RETCODE=1")
-self.addrule("!PKG_VERSION=pkg2|1.1")
+self.addrule("!PKG_VERSION=pkg2|1.1-1")