summaryrefslogtreecommitdiff
path: root/test/pacman/tests/querycheck001.py
blob: 8ed4b266f7e6a14f247321cbbbe6cf7809ee81b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
self.description = "Query--check files, all there"

pkg = pmpkg("dummy")
pkg.files = [
    "usr/lib/libdummy.so.0",
    "usr/lib/libdummy.so -> libdummy.so.0",
    "usr/share/dummy/C/",
    "usr/share/dummy/C/msgs",
    "usr/share/dummy/en -> C"]
self.addpkg2db("local",pkg)

self.args = "-Qk"

self.addrule("PACMAN_RETCODE=0")
self.addrule("!PACMAN_OUTPUT=warning.*(No such file or directory)")