summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/pacman/pmtest.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/pacman/pmtest.py b/test/pacman/pmtest.py
index 1d198f04..d1415677 100644
--- a/test/pacman/pmtest.py
+++ b/test/pacman/pmtest.py
@@ -204,7 +204,9 @@ class pmtest(object):
cmd.append("fakeroot")
fakechroot = util.which("fakechroot")
- if fakechroot:
+ if not fakechroot:
+ print "WARNING: fakechroot not found!"
+ else:
cmd.append("fakechroot")
if pacman["gdb"]: