summaryrefslogtreecommitdiff
path: root/test/pacman
diff options
context:
space:
mode:
authorChirantan Ekbote <chirantan.ekbote@gmail.com>2013-01-31 22:24:22 -0500
committerAllan McRae <allan@archlinux.org>2013-02-07 10:48:11 +1000
commit2f137fdd39d1441f961757ccb1f1e6f6670ac72a (patch)
tree693e4f7351797eaf4e17c3c1e3ded28dae7d356b /test/pacman
parent1631255357c248ed827c14ce51e3648c74d0adbf (diff)
Print a warning if fakechroot is not found
Fixes FS#33551. Signed-off-by: Chirantan Ekbote <chirantan.ekbote@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'test/pacman')
-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"]: