aboutsummaryrefslogtreecommitdiffstats
path: root/tools/indexcap.py
diff options
context:
space:
mode:
authorkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>2009-09-26 11:48:13 +0000
committerkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>2009-09-26 11:48:13 +0000
commitc935be1b8c0640d7a20d912198cbea0f2ea80881 (patch)
tree47b2079717240e0a2d77d8bf2bd797031addce4e /tools/indexcap.py
parentfcb57f5390865e3ed16865c815804adb36b5d2b3 (diff)
Delete log files from test runs that were succesful
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30170 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tools/indexcap.py')
-rwxr-xr-xtools/indexcap.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/indexcap.py b/tools/indexcap.py
index 23e25a331e..40030a599a 100755
--- a/tools/indexcap.py
+++ b/tools/indexcap.py
@@ -127,6 +127,10 @@ def compare_files(tshark_bin, tshark_cmp, num_procs, max_files, cap_files):
action = "FAILED (stderr)"
else:
action = "PASSED"
+ os.remove(file_result_bin[2])
+ os.remove(file_result_cmp[2])
+ os.remove(file_result_bin[3])
+ os.remove(file_result_cmp[3])
print "%s [%u/%u] %s %u bytes" % (action, cur_item_idx+1, max_files, file_result_bin[0], os.path.getsize(file_result_bin[0]))
print "%s [%u/%u] %s %u bytes" % (action, cur_item_idx+1, max_files, file_result_cmp[0], os.path.getsize(file_result_cmp[0]))