summaryrefslogtreecommitdiff
path: root/tools/indexcap.py
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-09-26 11:48:13 +0000
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-09-26 11:48:13 +0000
commit2f66e4ae29490393b2afb556f73c5cb8d0de6ade (patch)
tree47b2079717240e0a2d77d8bf2bd797031addce4e /tools/indexcap.py
parent0638d407b7348df65561456553fd36697dffce6a (diff)
downloadwireshark-2f66e4ae29490393b2afb556f73c5cb8d0de6ade.tar.gz
Delete log files from test runs that were succesful
svn path=/trunk/; revision=30170
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]))