index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2013-01-20 16:49:52 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-01-28 23:38:34 +1000 |
commit | 801f7d1033f74644c6d427cff9618270b2878582 (patch) | |
tree | ac2225cf4f0c6d68b0006e04f3088e72a537ceab /test/pacman/pactest.py | |
parent | ad280e1b56b6c6632b2fae5288f6441c343d0185 (diff) |
-rwxr-xr-x | test/pacman/pactest.py | 5 |
diff --git a/test/pacman/pactest.py b/test/pacman/pactest.py index 2fb64edc..ea44be5c 100755 --- a/test/pacman/pactest.py +++ b/test/pacman/pactest.py @@ -3,6 +3,7 @@ # pactest : run automated testing on the pacman binary # # Copyright (c) 2006 by Aurelien Foret <orelien@chez.com> +# Copyright (c) 2006-2013 Pacman Development Team <pacman-dev@archlinux.org> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -81,6 +82,9 @@ def create_parser(): parser.add_option("--manual-confirm", action = "store_true", dest = "manualconfirm", default = False, help = "do not use --noconfirm for pacman calls") + parser.add_option("--scriptlet-shell", type = "string", + dest = "scriptletshell", default = "/bin/sh", + help = "specify path to shell used for install scriptlets") return parser @@ -99,6 +103,7 @@ if __name__ == "__main__": env.pacman["gdb"] = opts.gdb env.pacman["valgrind"] = opts.valgrind env.pacman["manual-confirm"] = opts.manualconfirm + env.pacman["scriptlet-shell"] = opts.scriptletshell if opts.testcases is None or len(opts.testcases) == 0: print "no tests defined, nothing to do" |