Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/test/pacman/tests/multiple-architectures01.py
blob: 39f3e1f70415e3e019c0f0cf6f93abb39f205802 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
self.description = "Install a package (multiple Architecture options, wrong)"

p = pmpkg("dummy")
p.files = ["bin/dummy",
           "usr/man/man1/dummy.1"]
p.arch = 'i686'
self.addpkg(p)

self.option["Architecture"] = ['i586', 'i486', 'i386']

self.args = "-U %s" % p.filename()

self.addrule("PACMAN_RETCODE=1")
self.addrule("!PKG_EXIST=dummy")