test log improvements

This commit is contained in:
Arvid Norberg
2013-06-21 01:06:40 +00:00
parent 208321dab0
commit 6b6c06fa0b
3 changed files with 21 additions and 14 deletions

View File

@@ -298,6 +298,7 @@ def main(argv):
# a precautio to make sure a malicious repo
# won't clean things outside of the test directory
if not os.path.abspath(f).startswith(test_dir): continue
print 'deleting %s' %f
os.rmdirs(f)
finally:
# always restore current directory