From 8ca6501ee1e3041f4fb186a33a9faf76f973efa2 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 21 Jan 2008 19:47:03 -0600 Subject: pactest: remove check for root permissions message Pacman isn't designed to fail when under fakeroot anymore, so kill this check off which fails anyway if the logfile is missing (such as when the --valgrind flag is used). Signed-off-by: Dan McGee --- pactest/pmtest.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'pactest') diff --git a/pactest/pmtest.py b/pactest/pmtest.py index be36914b..d54d7ba2 100755 --- a/pactest/pmtest.py +++ b/pactest/pmtest.py @@ -233,11 +233,6 @@ class pmtest: vprint("\tretcode = %s" % self.retcode) os.chdir(curdir) - # Check if pacman failed because of bad permissions - if self.retcode and not pacman["nolog"] \ - and grep(os.path.join(self.root, LOGFILE), - "you cannot perform this operation unless you are root"): - print "\tERROR: pacman support for fakeroot is not disabled" # Check if the lock is still there if os.path.isfile(PM_LOCK): print "\tERROR: %s not removed" % PM_LOCK -- cgit v1.2.3-24-g4f1b