The below error is coming out because the ()'s are not valid in the
python shell call. The path is composed of the test name and some
tests have ()'s in the name.
18:39:17 Ping Vm Instance1 In net_2 From net_1 (vxlan to vlan) :: Check rea... sh: -c: line 0: syntax error near unexpected token `('
18:39:23 sh: -c: line 0: `odltools show eos -i 10.30.170.33 -t 8181 -u admin -w admin --path /tmp/02_l3_Ping_Vm_Instance1_In_net_2_From_net_1_(vxlan_to_vlan) 2>&1'
18:39:23 sh: -c: line 0: syntax error near unexpected token `('
18:39:23 sh: -c: line 0: `odltools analyze tunnels -i 10.30.170.33 -t 8181 -u admin -w admin --path /tmp/02_l3_Ping_Vm_Instance1_In_net_2_From_net_1_(vxlan_to_vlan) 2>&1'
Change-Id: I82b28a713f0c007af74cdcba23a16a758e805929
Signed-off-by: Sam Hague <shague@redhat.com>
Get Path
[Arguments] ${test_name}=${SUITE_NAME}.${TEST_NAME}
[Documentation] Get odltools path for a given test case
Get Path
[Arguments] ${test_name}=${SUITE_NAME}.${TEST_NAME}
[Documentation] Get odltools path for a given test case
- ${tmpdir} = BuiltIn.Evaluate """${test_name}""".replace(" ","_").replace("/","_").replace(".","_")
+ ${tmpdir} = BuiltIn.Evaluate """${test_name}""".replace(" ","_").replace("/","_").replace(".","_").replace("(","_").replace(")","_")