summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChantry Xavier <shiningxc@gmail.com>2007-07-13 11:06:53 +0200
committerDan McGee <dan@archlinux.org>2007-07-13 10:11:54 -0400
commit5ed501565ef8caf4fe2043066750ed7564a2c52d (patch)
treebd34c1e2ba09d53ec7bf9d24ae14f7cabf36be87
parent723478560179bc541e89627c43b1cea512fab2a1 (diff)
downloadpacman-5ed501565ef8caf4fe2043066750ed7564a2c52d.tar.xz
remove sync022 and sync023 pactest.
Currently the replaces flag is only used for forcing the replacement of package (eg because of a renaming) on sysupgrade operation. If the replaces flag should also be used for resolving conflicts, then it should be discussed and specified correctly first. References: http://bugs.archlinux.org/task/7415#comment17207 http://www.archlinux.org/pipermail/pacman-dev/2007-June/008553.html commit which introduced the replace flag : 4fcec8f03ff790bfb23b826eee169bc9c0b00142 Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
-rw-r--r--pactest/tests/sync022.py22
-rw-r--r--pactest/tests/sync023.py22
2 files changed, 0 insertions, 44 deletions
diff --git a/pactest/tests/sync022.py b/pactest/tests/sync022.py
deleted file mode 100644
index 81d52ff6..00000000
--- a/pactest/tests/sync022.py
+++ /dev/null
@@ -1,22 +0,0 @@
-self.description = "Install group with two conflicting packages, one replacing other"
-
-sp1 = pmpkg("pkg1")
-sp1.groups = ["grp"]
-self.addpkg2db("sync", sp1);
-
-sp2 = pmpkg("pkg2")
-sp2.groups = ["grp"]
-sp2.provides = ["pkg1"]
-sp2.conflicts = ["pkg1"]
-sp2.replaces = ["pkg1"]
-self.addpkg2db("sync", sp2);
-
-lp1 = pmpkg("pkg2")
-lp1.groups = ["grp"]
-self.addpkg2db("local", lp1);
-
-self.args = "-S %s" % "grp"
-
-self.addrule("PACMAN_RETCODE=0")
-self.addrule("PKG_EXIST=pkg2");
-self.addrule("!PKG_EXIST=pkg1");
diff --git a/pactest/tests/sync023.py b/pactest/tests/sync023.py
deleted file mode 100644
index d8f78b80..00000000
--- a/pactest/tests/sync023.py
+++ /dev/null
@@ -1,22 +0,0 @@
-self.description = "Install group with two conflicting packages, one replacing other (backwards)"
-
-sp1 = pmpkg("pkg1")
-sp1.groups = ["grp"]
-sp1.provides = ["pkg2"]
-sp1.conflicts = ["pkg2"]
-sp1.replaces = ["pkg2"]
-self.addpkg2db("sync", sp1);
-
-sp2 = pmpkg("pkg2")
-sp2.groups = ["grp"]
-self.addpkg2db("sync", sp2);
-
-lp1 = pmpkg("pkg2")
-lp1.groups = ["grp"]
-self.addpkg2db("local", lp1);
-
-self.args = "-S %s" % "grp"
-
-self.addrule("PACMAN_RETCODE=0")
-self.addrule("PKG_EXIST=pkg1");
-self.addrule("!PKG_EXIST=pkg2");