Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   ArchLinux Pacman Development (http://www.linux-archive.org/archlinux-pacman-development/)
-   -   Fixed outdated documentation in test/pacman/README (http://www.linux-archive.org/archlinux-pacman-development/542611-fixed-outdated-documentation-test-pacman-readme.html)

Kerrick Staley 06-22-2011 05:32 AM

Fixed outdated documentation in test/pacman/README
 
test/pacman/README mentioned the -A flag, which no longer exists.

Signed-off-by: Kerrick Staley <mail@kerrickstaley.com>
---
test/pacman/README | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/pacman/README b/test/pacman/README
index 0bd0213..a3c36fc 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
--
1.7.5.2


All times are GMT. The time now is 04:40 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.