index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2007-11-29 23:39:51 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-12-10 23:06:48 -0600 |
commit | f5478d68a67741236a2e9f42f2e524ee1bb26517 (patch) | |
tree | 7fcf7d7527a3be7e6706506fed7da8ef6edee5f2 /pactest/pmtest.py | |
parent | 685a659656d670acb0d606f8e91c8984d47c98b5 (diff) |
-rwxr-xr-x | pactest/pmtest.py | 7 |
diff --git a/pactest/pmtest.py b/pactest/pmtest.py index 457028db..be36914b 100755 --- a/pactest/pmtest.py +++ b/pactest/pmtest.py @@ -189,6 +189,13 @@ class pmtest: cmd = [""] if os.geteuid() != 0: cmd.append("fakeroot") + + fakechroot = which("fakechroot") + if not fakechroot: + print "WARNING: fakechroot not found, scriptlet tests WILL fail!!!" + else: + cmd.append("fakechroot") + if pacman["gdb"]: cmd.append("libtool gdb --args") if pacman["valgrind"]: |