summaryrefslogtreecommitdiffstats
path: root/pactest/pmtest.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-09-01 01:38:23 +0200
committerDan McGee <dan@archlinux.org>2008-10-13 04:29:04 +0200
commit927ce2b7a52360507da3d81804520dbba4a9700d (patch)
treeb9fcadf4d60f3c7b6659eaa8de58e8eac9916fee /pactest/pmtest.py
parentce3d70aa99ab86d49756d1858580750f2f13dd9e (diff)
downloadpacman-927ce2b7a52360507da3d81804520dbba4a9700d.tar.gz
pacman-927ce2b7a52360507da3d81804520dbba4a9700d.tar.xz
Rework fakechroot checking
Do the checks in the tests that need it, and get rid of some of the cluttered output when it is not available (one line per test run). Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'pactest/pmtest.py')
-rwxr-xr-xpactest/pmtest.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/pactest/pmtest.py b/pactest/pmtest.py
index 39f4deab..7bb32812 100755
--- a/pactest/pmtest.py
+++ b/pactest/pmtest.py
@@ -197,9 +197,7 @@ class pmtest:
cmd.append("fakeroot")
fakechroot = which("fakechroot")
- if not fakechroot:
- print "WARNING: fakechroot not found, scriptlet tests WILL fail!!!"
- else:
+ if fakechroot:
cmd.append("fakechroot")
if pacman["gdb"]: