Add test to capture the linux-firmware upgrade issue
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
7cd8010d65
commit
11075f6736
1 changed files with 26 additions and 0 deletions
|
@ -0,0 +1,26 @@
|
|||
self.description = "directory replaced by symlink in another package (linux-firmware issue)"
|
||||
|
||||
lp = pmpkg("p", "1-1")
|
||||
lp.files = ["d1/file",
|
||||
"d2/file"]
|
||||
self.addpkg2db("local", lp)
|
||||
|
||||
p1 = pmpkg("d")
|
||||
p1.files = ["d1/file",
|
||||
"d2 -> d1"]
|
||||
self.addpkg2db("sync", p1)
|
||||
|
||||
p2 = pmpkg("p", "2-1")
|
||||
p2.depends = ["d"]
|
||||
self.addpkg2db("sync", p2)
|
||||
|
||||
self.args = "-Syu"
|
||||
|
||||
self.addrule("PACMAN_RETCODE=0")
|
||||
self.addrule("PKG_EXIST=p")
|
||||
self.addrule("PKG_EXIST=d")
|
||||
self.addrule("FILE_TYPE=d1|dir")
|
||||
self.addrule("FILE_TYPE=d2|link")
|
||||
|
||||
self.expectfailure = True
|
||||
|
Loading…
Add table
Reference in a new issue