index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Chantry Xavier <shiningxc@gmail.com> | 2007-10-28 13:37:49 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-10-28 21:18:55 -0500 |
commit | 0dc34f496dca3d916eae85a0357049b8b9d711bb (patch) | |
tree | f312040fb9075cac6f52bdc30c1c65e4b275d6fc | |
parent | 3e3e7a97a629cc86a53044766039c66d85cf67cb (diff) |
-rw-r--r-- | pactest/tests/type001.py | 14 |
diff --git a/pactest/tests/type001.py b/pactest/tests/type001.py index f119f14f..d55dcc11 100644 --- a/pactest/tests/type001.py +++ b/pactest/tests/type001.py @@ -1,13 +1,17 @@ self.description = "Check the types of default files in a package" p = pmpkg("pkg1") -p.files = ["bin/foo" - "bin/bar"] +p.files = ["foo/file1", + "foo/file2", + "foo/dir/", + "foo/symdir -> dir"] self.addpkg(p) self.args = "-U %s" % p.filename() self.addrule("PACMAN_RETCODE=0") -for f in p.files: - self.addrule("FILE_TYPE=%s|file" % f) -self.addrule("FILE_TYPE=bin/|dir") +self.addrule("FILE_TYPE=foo/|dir") +self.addrule("FILE_TYPE=foo/file1|file") +self.addrule("FILE_TYPE=foo/file2|file") +self.addrule("FILE_TYPE=foo/dir|dir") +self.addrule("FILE_TYPE=foo/symdir|link") |