summaryrefslogtreecommitdiffhomepage
path: root/test/scenario_test/route_server_malformed_test.py
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-03-29 13:02:43 +0000
committerISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-03-29 14:24:54 +0000
commitbb84cdcfd5c5d4761778518a8e9d3c0ec7e7e949 (patch)
tree04dd837bf0374e7520fd234ff16fafc1115820df /test/scenario_test/route_server_malformed_test.py
parent3d808b5c0d6cbad6d62c2d267ca72d0e7605fb9b (diff)
scenario_test: add option to specify exabgp_path
can be used to use local exabgp repository Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'test/scenario_test/route_server_malformed_test.py')
-rw-r--r--test/scenario_test/route_server_malformed_test.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/scenario_test/route_server_malformed_test.py b/test/scenario_test/route_server_malformed_test.py
index 3902fc68..4c45a9f7 100644
--- a/test/scenario_test/route_server_malformed_test.py
+++ b/test/scenario_test/route_server_malformed_test.py
@@ -76,10 +76,12 @@ def test_malformed_packet():
use_local = parser_option.use_local
log_debug = parser_option.gobgp_log_debug
go_path = parser_option.go_path
+ exabgp_path = parser_option.exabgp_path
+
for pkey in pattern:
conf_file = pwd + "/exabgp_test_conf/" + pkey
if os.path.isfile(conf_file) is True:
- fab.init_malformed_test_env_executor(pkey, use_local, go_path, log_debug)
+ fab.init_malformed_test_env_executor(pkey, use_local, go_path, exabgp_path, log_debug)
print "please wait (" + str(initial_wait_time) + " second)"
time.sleep(initial_wait_time)
yield check_func, pkey, pattern[pkey]