diff options
author | Dan McGee <dan@archlinux.org> | 2011-06-16 13:50:23 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-20 00:36:01 -0500 |
commit | 81e6071e0f0c6ea1f4bb654e3e98493c4650e858 (patch) | |
tree | 56058f56772655dc1a325c732340f163fa26ee48 /test | |
parent | 34876e4fe9707de961318da28dba604dffff6d49 (diff) |
pactest: add retcode=0 to several tests
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/pacman/tests/upgrade020.py | 1 | ||||
-rw-r--r-- | test/pacman/tests/upgrade021.py | 1 | ||||
-rw-r--r-- | test/pacman/tests/upgrade022.py | 1 | ||||
-rw-r--r-- | test/pacman/tests/upgrade023.py | 1 | ||||
-rw-r--r-- | test/pacman/tests/upgrade024.py | 1 | ||||
-rw-r--r-- | test/pacman/tests/upgrade025.py | 1 | ||||
-rw-r--r-- | test/pacman/tests/upgrade026.py | 1 | ||||
-rw-r--r-- | test/pacman/tests/upgrade042.py | 1 | ||||
-rw-r--r-- | test/pacman/tests/upgrade043.py | 1 | ||||
-rw-r--r-- | test/pacman/tests/upgrade045.py | 1 |
10 files changed, 10 insertions, 0 deletions
diff --git a/test/pacman/tests/upgrade020.py b/test/pacman/tests/upgrade020.py index 6a7994bb..8b2e4025 100644 --- a/test/pacman/tests/upgrade020.py +++ b/test/pacman/tests/upgrade020.py @@ -12,6 +12,7 @@ self.addpkg(p) self.args = "-U %s" % p.filename() +self.addrule("PACMAN_RETCODE=0") self.addrule("PKG_VERSION=dummy|1.0-2") self.addrule("FILE_MODIFIED=etc/dummy.conf") self.addrule("!FILE_PACNEW=etc/dummy.conf") diff --git a/test/pacman/tests/upgrade021.py b/test/pacman/tests/upgrade021.py index b45ea18a..9c623c04 100644 --- a/test/pacman/tests/upgrade021.py +++ b/test/pacman/tests/upgrade021.py @@ -12,6 +12,7 @@ self.addpkg(p) self.args = "-U %s" % p.filename() +self.addrule("PACMAN_RETCODE=0") self.addrule("PKG_VERSION=dummy|1.0-2") self.addrule("!FILE_MODIFIED=etc/dummy.conf") self.addrule("!FILE_PACNEW=etc/dummy.conf") diff --git a/test/pacman/tests/upgrade022.py b/test/pacman/tests/upgrade022.py index dcf7ae01..581a66ad 100644 --- a/test/pacman/tests/upgrade022.py +++ b/test/pacman/tests/upgrade022.py @@ -12,6 +12,7 @@ self.addpkg(p) self.args = "-U %s" % p.filename() +self.addrule("PACMAN_RETCODE=0") self.addrule("PKG_VERSION=dummy|1.0-2") self.addrule("!FILE_MODIFIED=etc/dummy.conf") self.addrule("FILE_PACNEW=etc/dummy.conf") diff --git a/test/pacman/tests/upgrade023.py b/test/pacman/tests/upgrade023.py index d1d2e314..08afbb8f 100644 --- a/test/pacman/tests/upgrade023.py +++ b/test/pacman/tests/upgrade023.py @@ -11,6 +11,7 @@ self.addpkg(p) self.args = "-U %s" % p.filename() +self.addrule("PACMAN_RETCODE=0") self.addrule("PKG_VERSION=dummy|1.1-1") self.addrule("!FILE_MODIFIED=etc/dummy.conf") # Do we want this pacnew or not? diff --git a/test/pacman/tests/upgrade024.py b/test/pacman/tests/upgrade024.py index ec2f7623..0bacb76d 100644 --- a/test/pacman/tests/upgrade024.py +++ b/test/pacman/tests/upgrade024.py @@ -10,6 +10,7 @@ self.addpkg(p) self.args = "-U %s" % p.filename() +self.addrule("PACMAN_RETCODE=0") self.addrule("PKG_VERSION=dummy|1.0-2") self.addrule("FILE_PACSAVE=etc/dummy.conf") self.addrule("!FILE_EXIST=etc/dummy.conf") diff --git a/test/pacman/tests/upgrade025.py b/test/pacman/tests/upgrade025.py index 2c9c06f3..0ef0d0d8 100644 --- a/test/pacman/tests/upgrade025.py +++ b/test/pacman/tests/upgrade025.py @@ -11,6 +11,7 @@ self.addpkg(p) self.args = "-U %s" % p.filename() +self.addrule("PACMAN_RETCODE=0") self.addrule("PKG_VERSION=dummy|1.0-2") self.addrule("FILE_PACSAVE=etc/dummy.conf") self.addrule("!FILE_PACNEW=etc/dummy.conf") diff --git a/test/pacman/tests/upgrade026.py b/test/pacman/tests/upgrade026.py index 8e3ef239..7e91cbc9 100644 --- a/test/pacman/tests/upgrade026.py +++ b/test/pacman/tests/upgrade026.py @@ -11,6 +11,7 @@ self.addpkg(p) self.args = "-U %s" % p.filename() +self.addrule("PACMAN_RETCODE=0") self.addrule("PKG_VERSION=dummy|1.0-2") self.addrule("FILE_PACSAVE=etc/dummy.conf") self.addrule("!FILE_PACNEW=etc/dummy.conf") diff --git a/test/pacman/tests/upgrade042.py b/test/pacman/tests/upgrade042.py index d6140d45..44754991 100644 --- a/test/pacman/tests/upgrade042.py +++ b/test/pacman/tests/upgrade042.py @@ -21,6 +21,7 @@ self.args = "-U %s" % " ".join([p.filename() for p in p1, p2]) self.filesystem = ["etc/profile"] +self.addrule("PACMAN_RETCODE=0") self.addrule("PKG_VERSION=bash|1.0-2") self.addrule("PKG_VERSION=filesystem|1.0-2") self.addrule("!FILE_PACSAVE=etc/profile") diff --git a/test/pacman/tests/upgrade043.py b/test/pacman/tests/upgrade043.py index e76dc463..f531cb82 100644 --- a/test/pacman/tests/upgrade043.py +++ b/test/pacman/tests/upgrade043.py @@ -21,6 +21,7 @@ self.args = "-U %s" % " ".join([p.filename() for p in p1, p2]) self.filesystem = ["etc/profile"] +self.addrule("PACMAN_RETCODE=0") self.addrule("PKG_VERSION=bash|1.0-2") self.addrule("PKG_VERSION=filesystem|1.0-2") self.addrule("!FILE_PACSAVE=etc/profile") diff --git a/test/pacman/tests/upgrade045.py b/test/pacman/tests/upgrade045.py index b2f81274..5d0ef2ff 100644 --- a/test/pacman/tests/upgrade045.py +++ b/test/pacman/tests/upgrade045.py @@ -12,5 +12,6 @@ self.addpkg(p1) self.args = "-U %s" % p1.filename() +self.addrule("PACMAN_RETCODE=0") self.addrule("PKG_VERSION=foo|1.0-2") self.addrule("FILE_EXIST=etc/foo.cfg") |