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

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

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

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

self.addrule("PACMAN_RETCODE=0")
self.addrule("PKG_EXIST=dummy")
for f in p.files:
	self.addrule("FILE_EXIST=%s" % f)