From bb84cdcfd5c5d4761778518a8e9d3c0ec7e7e949 Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Sun, 29 Mar 2015 13:02:43 +0000 Subject: scenario_test: add option to specify exabgp_path can be used to use local exabgp repository Signed-off-by: ISHIDA Wataru --- test/scenario_test/route_server_malformed_test.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/scenario_test/route_server_malformed_test.py') 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] -- cgit v1.2.3