autotest: fixed rmtree error in autotest

This commit is contained in:
Andrew Tridgell 2020-11-09 06:01:34 +11:00
parent 8cb3013217
commit 7b50780c5e

View File

@ -5336,7 +5336,7 @@ class AutoTestCopter(AutoTest):
self.progress("Running replay")
shutil.rmtree("logs/replay")
shutil.rmtree("logs/replay", ignore_errors=True)
util.run_cmd(['build/linux/tools/Replay', '--log-directory=logs/replay', '--', current_log_filepath],
directory=util.topdir(), checkfail=True, show=True)