summaryrefslogtreecommitdiffstats
path: root/pactest/pmtest.py
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-02-23 05:54:49 +0100
committerAaron Griffin <aaron@archlinux.org>2007-02-23 05:54:49 +0100
commit94874d90e205114ae71d8a8ed9b4273382434a29 (patch)
tree3e8884f78838e8457152d38ec9af44c6865bca32 /pactest/pmtest.py
parent6cd69fa9ff66a3dd77f9773bd7fb62e79512f5e7 (diff)
downloadpacman-94874d90e205114ae71d8a8ed9b4273382434a29.tar.gz
pacman-94874d90e205114ae71d8a8ed9b4273382434a29.tar.xz
* Fixed globbing for pactest --test argument
* --manual-confirm was handled in the wrong order
Diffstat (limited to 'pactest/pmtest.py')
-rwxr-xr-xpactest/pmtest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pactest/pmtest.py b/pactest/pmtest.py
index 0332f231..629a5754 100755
--- a/pactest/pmtest.py
+++ b/pactest/pmtest.py
@@ -188,10 +188,10 @@ class pmtest:
cmd.append("libtool gdb --args")
if pacman["valgrind"]:
cmd.append("valgrind --tool=memcheck --leak-check=full --show-reachable=yes")
- if not pacman["manual-confirm"]:
- cmd.append("--noconfirm")
cmd.append("%s --config=%s --root=%s" \
% (pacman["bin"], os.path.join(self.root, PACCONF), self.root))
+ if not pacman["manual-confirm"]:
+ cmd.append("--noconfirm")
if pacman["debug"]:
cmd.append("--debug=%s" % pacman["debug"])
cmd.append("%s" % self.args)