summaryrefslogtreecommitdiffhomepage
path: root/test/scenario_test/route_server_as2_test.py
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2017-03-07 11:02:32 +0900
committerIWASE Yusuke <iwase.yusuke0@gmail.com>2017-03-07 16:36:06 +0900
commit4d7e3bd16fa51f4469a0a3f5f807c20b237ee21d (patch)
tree58cd9776767a6e2e57486208ab9df0051c710af7 /test/scenario_test/route_server_as2_test.py
parenta2db0a758643717afd37e252afe6ee5d5ac20770 (diff)
scenario_test: Remove "sudo" command for running tests
For the convenience when running scenario_test on Python virtualenv, this patch removes "sudo" command for running tests. Note: To enable to execute Docker without the root privilege, add your local user into "docker" group. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'test/scenario_test/route_server_as2_test.py')
-rw-r--r--test/scenario_test/route_server_as2_test.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/scenario_test/route_server_as2_test.py b/test/scenario_test/route_server_as2_test.py
index 8978a084..b391aa46 100644
--- a/test/scenario_test/route_server_as2_test.py
+++ b/test/scenario_test/route_server_as2_test.py
@@ -106,9 +106,6 @@ class GoBGPTestBase(unittest.TestCase):
if __name__ == '__main__':
- if os.geteuid() is not 0:
- print "you are not root."
- sys.exit(1)
output = local("which docker 2>&1 > /dev/null ; echo $?", capture=True)
if int(output) is not 0:
print "docker not found"