Skip to content

Commit

Permalink
Add Debian fix for running test from root/fakeroot (fix-test-root.patch)
Browse files Browse the repository at this point in the history
  • Loading branch information
jollyroger committed Mar 14, 2011
1 parent d1fc4b7 commit 533ffec
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions master/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,6 @@ def _run(self, test_loc):
# Mimick the trial script by adding the path as the last arg
sys.argv.append(test_loc)

# No superuser should execute tests
if hasattr(os, "getuid") and os.getuid() == 0:
raise SystemExit('Do not test as a superuser! Exiting ...')

# Add the current dir to path and pull it all together
sys.path.insert(0, os.path.curdir)
sys.path[:] = map(os.path.abspath, sys.path)
Expand Down

0 comments on commit 533ffec

Please sign in to comment.