index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | pactest/pmtest.py | 4 |
diff --git a/pactest/pmtest.py b/pactest/pmtest.py index e0b3fd44..476eb27a 100755 --- a/pactest/pmtest.py +++ b/pactest/pmtest.py @@ -188,7 +188,9 @@ class pmtest: print "==> Running test" vprint("\tpacman %s" % self.args) - cmd = ["fakeroot"] + cmd = [""] + if os.geteuid() != 0: + cmd.append("fakeroot") if pacman["gdb"]: cmd.append("libtool gdb --args") if pacman["valgrind"]: |