dovetail tool: cleanup result directory before running 77/23677/3
authorxudan <xudan16@huawei.com>
Wed, 26 Oct 2016 02:27:12 +0000 (02:27 +0000)
committerxudan <xudan16@huawei.com>
Thu, 3 Nov 2016 02:00:05 +0000 (02:00 +0000)
commit65a0b1dc65bc0df69c68b7fa176f5035e5b5511f
tree959284c8813cdf03b4cf545758191e5cf7d416fb
parentbb5d6a119196dcfeabf141cca23b6495fc5e386e
dovetail tool: cleanup result directory before running

JIRA: DOVETAIL-38

1. Do cleaning at the beginning of each run.
2. Since some files and folders have the 'root root' privilege,
   no command except cmd 'sudo rm -rf <results_dir>' can work.

Change-Id: If8cd5c8c9c35434af2a5fa38575c06f83f0afc4d
Signed-off-by: xudan <xudan16@huawei.com>
dovetail/utils/dovetail_logger.py