Move important information up in -Si output
[pacman-ng.git] / test / pacman / tests / smoke002.py
blob8ff5cab7fb4ce3e6dd3d1a109f20f0119467486f
1 self.description = "Install packages with huge descriptions"
3 p1 = pmpkg("pkg1")
4 p1.desc = 'A' * 500 * 1024
5 self.addpkg(p1)
7 p2 = pmpkg("pkg2")
8 p2.desc = 'A' * 600 * 1024
9 self.addpkg(p2)
11 self.args = "-U %s %s" % (p1.filename(), p2.filename())
13 # We error out when fed a package with an invalid description; the second one
14 # fits the bill in this case as the desc is > 512K
15 self.addrule("PACMAN_RETCODE=1")
16 self.addrule("!PKG_EXIST=pkg1")
17 self.addrule("!PKG_EXIST=pkg1")