diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-11-15 09:37:16 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-11-15 09:37:16 +0000 |
commit | e4b4561f5ebccca4257d5c0aed7c539c0f53969c (patch) | |
tree | 6e3f00fc0af1588c670200a3e4268e5d552fb35a /cpp/test/IceGrid/session/run.py | |
parent | No -h in client-side endpoint means use loopback (diff) | |
download | ice-e4b4561f5ebccca4257d5c0aed7c539c0f53969c.tar.bz2 ice-e4b4561f5ebccca4257d5c0aed7c539c0f53969c.tar.xz ice-e4b4561f5ebccca4257d5c0aed7c539c0f53969c.zip |
Fix
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) |