Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=feea63b6eebf7735e65bacd0268c5f47b9435961

commit feea63b6eebf7735e65bacd0268c5f47b9435961
Author: Michel Hermier <herm...@frugalware.org>
Date:   Tue Dec 17 21:32:55 2013 +0100

pactest: Do not grep LOGFILE if it was not generated.

diff --git a/pactest/pmtest.py b/pactest/pmtest.py
index d8b7fd6..5b3912c 100644
--- a/pactest/pmtest.py
+++ b/pactest/pmtest.py
@@ -222,6 +222,7 @@ class pmtest:

# Check if pacman-g2 failed because of bad permissions
if self.retcode \
+                  and not pacman["gdb"] and not pacman["valgrind"] \
and grep(os.path.join(self.root, LOGFILE),
"you cannot perform this operation unless you are root"):
print "\tERROR: pacman-g2 support for fakeroot is not disabled"
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to