summaryrefslogtreecommitdiffstats
path: root/pactest
diff options
context:
space:
mode:
authorBryan Ischo <bji-keyword-pacman.3644cb@www.ischo.com>2009-01-17 03:14:16 +0100
committerDan McGee <dan@archlinux.org>2009-01-17 03:22:58 +0100
commit5bc23bc05d1661b27867a53069858c05356efd22 (patch)
tree9768d5cacdbad2fa2050ba375755ae136336a742 /pactest
parent3d49d88009341d5cacbbe08fb4f6f6af3ed76ae1 (diff)
downloadpacman-5bc23bc05d1661b27867a53069858c05356efd22.tar.gz
pacman-5bc23bc05d1661b27867a53069858c05356efd22.tar.xz
Fixed some inconsistencies and errors in the pactest documentation.
Signed-off-by: Bryan Ischo <bryan@ischo.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'pactest')
-rw-r--r--pactest/README25
1 files changed, 16 insertions, 9 deletions
diff --git a/pactest/README b/pactest/README
index 5d4e47fc..8f97a17d 100644
--- a/pactest/README
+++ b/pactest/README
@@ -70,12 +70,12 @@ Usage
pactest will run the suite of tests defined by the "--test" parameter.
Example:
- ./pactest.py --test=test/*
+ ./pactest.py --test tests/*.py
-This example will run tests from the "test" directory.
+This example will run all tests from the "tests" directory.
Note: several "--test" options can be passed to pactest.
-Use the ""help" option to get the full list of parameters:
+Use the "help" option to get the full list of parameters:
./pactest.py --help
@@ -103,15 +103,22 @@ Example:
------
A dictionary that holds the data used in the pacman configuration file.
-It has 3 keys, each one of them pointing at a list of strings:
- - noupgrade
- - noextract
- - ignorepkg
+The following options are known to be useful in pactest tests; this list
+is not necessarily complete:
+ - HoldPkg
+ - IgnorePkg
+ - IgnoreGroup
+ - SyncFirst
+ - NoExtract
+ - NoUpgrade
+ - XferCommand
+
+For documentation on these options, see the pacman.conf documentation.
Examples:
- self.option["noupgrade"] = ["etc/X11/xorg.conf",
+ self.option["NoUpgrade"] = ["etc/X11/xorg.conf",
"etc/pacman.conf"]
- self.option["noextract"] = ["etc/lilo.conf"]
+ self.option["NoExtract"] = ["etc/lilo.conf"]
filesystem
----------