Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=059fd2d1491fadbda79f2c272c83fbed6a9853d5

commit 059fd2d1491fadbda79f2c272c83fbed6a9853d5
Author: VMiklos <[EMAIL PROTECTED]>
Date:   Fri Sep 21 12:44:48 2007 +0200

new test for wrong arch
(ie when one would like to install an i686 pkg on x86_64)

diff --git a/pactest/tests/upgrade070.py b/pactest/tests/upgrade070.py
new file mode 100644
index 0000000..0a5a516
--- /dev/null
+++ b/pactest/tests/upgrade070.py
@@ -0,0 +1,10 @@
+self.description = "Upgrade with wrong architecture"
+
+sp = pmpkg("dummy")
+sp.arch = "i586"
+self.addpkg2db("sync", sp)
+
+self.args = "-S dummy"
+
+self.addrule("PACMAN_RETCODE=1")
+self.addrule("!PKG_EXIST=dummy")
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to