diff options
author | Dan McGee <dan@archlinux.org> | 2008-01-21 19:47:03 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-01-21 19:47:03 -0600 |
commit | 8ca6501ee1e3041f4fb186a33a9faf76f973efa2 (patch) | |
tree | 1d3c8dee21c64b3f4b515d4ceeed265761454346 /pactest/pmtest.py | |
parent | 9247ddbe8aaebf00bf9b93a753b73aa09b5de014 (diff) |
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 <dan@archlinux.org>
Diffstat (limited to 'pactest/pmtest.py')
-rwxr-xr-x | pactest/pmtest.py | 5 |
1 files changed, 0 insertions, 5 deletions
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 |