diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2017-03-07 11:02:32 +0900 |
---|---|---|
committer | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2017-03-07 16:36:06 +0900 |
commit | 4d7e3bd16fa51f4469a0a3f5f807c20b237ee21d (patch) | |
tree | 58cd9776767a6e2e57486208ab9df0051c710af7 /test/scenario_test/rtc_test.py | |
parent | a2db0a758643717afd37e252afe6ee5d5ac20770 (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/rtc_test.py')
-rw-r--r-- | test/scenario_test/rtc_test.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/scenario_test/rtc_test.py b/test/scenario_test/rtc_test.py index 6f247213..3e1a2520 100644 --- a/test/scenario_test/rtc_test.py +++ b/test/scenario_test/rtc_test.py @@ -214,9 +214,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" |