summaryrefslogtreecommitdiff
path: root/pactest/pmtest.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-04-19 16:18:40 -0500
committerDan McGee <dan@archlinux.org>2008-04-19 16:18:40 -0500
commit423820b34c018e655aac5836873fef8dc475bd74 (patch)
tree690c72ae87a207870b9b0eaa6eec130de8978d37 /pactest/pmtest.py
parent7a873a8f1284058c968c5d8026fbde7867913cb5 (diff)
parentc465d9e848b19b495259c7021a583c29fba92b44 (diff)
downloadpacman-423820b34c018e655aac5836873fef8dc475bd74.tar.xz
Merge branch 'maint'
Conflicts: pactest/pmtest.py
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 d843ea6a..c4e6ffa0 100755
--- a/pactest/pmtest.py
+++ b/pactest/pmtest.py
@@ -200,7 +200,7 @@ class pmtest:
cmd.append("libtool gdb --args")
if pacman["valgrind"]:
cmd.append("valgrind -q --tool=memcheck --leak-check=full --show-reachable=yes")
- cmd.append("%s --config=%s --root=%s --dbpath=%s --cachedir=%s" \
+ cmd.append("\"%s\" --config=\"%s\" --root=\"%s\" --dbpath=\"%s\" --cachedir=\"%s\"" \
% (pacman["bin"],
os.path.join(self.root, PACCONF),
self.root,
@@ -212,7 +212,7 @@ class pmtest:
cmd.append("--debug=%s" % pacman["debug"])
cmd.append("%s" % self.args)
if not pacman["gdb"] and not pacman["valgrind"] and not pacman["nolog"]:
- cmd.append(">%s 2>&1" % os.path.join(self.root, LOGFILE))
+ cmd.append(">\"%s\" 2>&1" % os.path.join(self.root, LOGFILE))
vprint("\trunning: %s" % " ".join(cmd))
# Change to the tmp dir before running pacman, so that local package