Move important information up in -Si output
[pacman-ng.git] / test / pacman / tests / mode003.py
blob1193a5cf42ee9115d82e783b30b0ac1b25590817
1 self.description = "Backup file permissions test (same as orig)"
3 lp = pmpkg("filesystem")
4 lp.files = ["etc/profile|666"]
5 lp.backup = ["etc/profile*"]
6 self.addpkg2db("local", lp)
8 p = pmpkg("filesystem", "1.0-2")
9 p.files = ["etc/profile|666**"]
10 p.backup = ["etc/profile"]
11 self.addpkg(p)
13 self.args = "-U %s" % p.filename()
15 self.addrule("PACMAN_RETCODE=0")
16 self.addrule("!FILE_PACSAVE=etc/profile")
17 self.addrule("FILE_PACNEW=etc/profile")
18 self.addrule("FILE_EXIST=etc/profile")
19 self.addrule("FILE_MODE=etc/profile|666")
20 self.addrule("FILE_MODE=etc/profile.pacnew|666")