diff options
author | 2016-01-21 01:18:42 +0200 | |
---|---|---|
committer | 2016-01-21 01:18:42 +0200 | |
commit | 9c9173a53fc09d08cf39e614dffa24f4e21a69e9 (patch) | |
tree | dc3c46160d907064a007a6fcd55e494dbe337936 /scripts/automation/regression/unit_tests | |
parent | 1d8c0a97f418555058efd9b149b1fec0cb808eb7 (diff) |
regression: fix created pcap name in parallel setups
general: added command to show last commits + release
Diffstat (limited to 'scripts/automation/regression/unit_tests')
-rwxr-xr-x | scripts/automation/regression/unit_tests/functional_tests/pkt_builder_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |