Skip to content
Snippets Groups Projects
Commit b666680d authored by Andrew Tridgell's avatar Andrew Tridgell
Browse files

autotest: erase logs after downloading

parent 6121b9c5
No related branches found
No related tags found
No related merge requests found
...@@ -251,5 +251,8 @@ def log_download(mavproxy, mav, filename, timeout=60): ...@@ -251,5 +251,8 @@ def log_download(mavproxy, mav, filename, timeout=60):
mav.wait_heartbeat() mav.wait_heartbeat()
mavproxy.send("log download latest %s\n" % filename) mavproxy.send("log download latest %s\n" % filename)
mavproxy.expect("Finished downloading", timeout=timeout) mavproxy.expect("Finished downloading", timeout=timeout)
mavproxy.send("log erase\n")
mav.wait_heartbeat()
mav.wait_heartbeat()
return True return True
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment