index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Kerrick Staley <mail@kerrickstaley.com> | 2011-06-22 00:32:57 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-22 11:13:52 -0500 |
commit | 3d4bf3b3fdabb721ab4be23e6ca26e8fa5bb9806 (patch) | |
tree | 2036b963e0aa85691ca3e3605382fd45fd334528 | |
parent | 74689562363b3dec2a97ce095295a5222562061d (diff) |
-rw-r--r-- | test/pacman/README | 6 |
diff --git a/test/pacman/README b/test/pacman/README index 0bd02138..a3c36fc9 100644 --- a/test/pacman/README +++ b/test/pacman/README @@ -22,7 +22,7 @@ The following directory structure is used: - var/cache/pkg: sync packages cache - var/log/pactest.log: log file - var/pub: location for pseudo sync repositories - - tmp: hold all local package archives (to be used with pacman -A or -U) + - tmp: hold all local package archives (to be used with pacman -U) Note: the logfile is used to capture all pacman outputs. @@ -34,7 +34,7 @@ Test case example: "usr/man/man1/dummy.1"] self.addpkg(p) - self.args = "-A dummy-1.0-1.pkg.tar.gz" + self.args = "-U dummy-1.0-1.pkg.tar.gz" self.addrule("PACMAN_RETCODE=0") self.addrule("PKG_EXIST=dummy") @@ -42,7 +42,7 @@ Test case example: self.addrule("FILE_EXIST=%s" % f) Basically, the above test case will try to install a package (dummy-1.0-3), -including two files, from a local archive, by calling "pacman -A" +including two files, from a local archive, by calling "pacman -U" Upon completion, it checks that: - pacman returned no error code, - a "dummy" entry exists in the "local" database |