diff options
Diffstat (limited to 'cpp/test/IceGrid/session/run.py')
-rwxr-xr-x | cpp/test/IceGrid/session/run.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/test/IceGrid/session/run.py b/cpp/test/IceGrid/session/run.py index 328a337a411..894737d7c02 100755 --- a/cpp/test/IceGrid/session/run.py +++ b/cpp/test/IceGrid/session/run.py @@ -21,6 +21,12 @@ sys.path.append(os.path.join(toplevel, "config")) import TestUtil import IceGridAdmin +if not TestUtil.isWin32() and os.getuid() == 0: + print + print "*** can't run test as root ***" + print + sys.exit(0) + name = os.path.join("IceGrid", "session") testdir = os.path.join(toplevel, "test", name) |