From 9c9173a53fc09d08cf39e614dffa24f4e21a69e9 Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Thu, 21 Jan 2016 01:18:42 +0200 Subject: regression: fix created pcap name in parallel setups general: added command to show last commits + release --- .../regression/unit_tests/functional_tests/pkt_builder_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/automation/regression/unit_tests') diff --git a/scripts/automation/regression/unit_tests/functional_tests/pkt_builder_test.py b/scripts/automation/regression/unit_tests/functional_tests/pkt_builder_test.py index 96393d1e..b8831c04 100755 --- a/scripts/automation/regression/unit_tests/functional_tests/pkt_builder_test.py +++ b/scripts/automation/regression/unit_tests/functional_tests/pkt_builder_test.py @@ -212,7 +212,7 @@ class CTRexPktBuilder_Test(pkt_bld_general_test.CGeneralPktBld_Test): # finally, set IP header len with relation to payload data self.pkt_bld.set_layer_attr("l3_ip", "len", len(self.pkt_bld.get_layer('l3_ip'))) - filepath = "reports/test.pcap" + filepath = 'reports/test%s.pcap' % os.getenv('SETUP_DIR', '') self.pkt_bld.dump_pkt_to_pcap(filepath) assert os.path.isfile(filepath) # remove pcap after ensuring it exists -- cgit