From 2f137fdd39d1441f961757ccb1f1e6f6670ac72a Mon Sep 17 00:00:00 2001 From: Chirantan Ekbote Date: Thu, 31 Jan 2013 22:24:22 -0500 Subject: Print a warning if fakechroot is not found Fixes FS#33551. Signed-off-by: Chirantan Ekbote Signed-off-by: Allan McRae --- test/pacman/pmtest.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"]: -- cgit v1.2.3-24-g4f1b