summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-01-21 01:18:42 +0200
committerYaroslav Brustinov <ybrustin@cisco.com>2016-01-21 01:18:42 +0200
commit9c9173a53fc09d08cf39e614dffa24f4e21a69e9 (patch)
treedc3c46160d907064a007a6fcd55e494dbe337936 /scripts
parent1d8c0a97f418555058efd9b149b1fec0cb808eb7 (diff)
regression: fix created pcap name in parallel setups
general: added command to show last commits + release
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/automation/regression/unit_tests/functional_tests/pkt_builder_test.py2
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