Re: [Xen-devel] [OSSTEST PATCH] ts-logs-capture: Actually do hard host reboot sometimes

2015-10-01 Thread Ian Campbell
On Thu, 2015-10-01 at 12:14 +0100, Ian Jackson wrote: > The logic in try_fetch_logs for setting $ok was wrong. $ok would be > set if we reached the end of any outer (pattern) loop iteration. If > the host is actually dead all the pattern expansions would fail, but > some of the patterns are liter

[Xen-devel] [OSSTEST PATCH] ts-logs-capture: Actually do hard host reboot sometimes

2015-10-01 Thread Ian Jackson
The logic in try_fetch_logs for setting $ok was wrong. $ok would be set if we reached the end of any outer (pattern) loop iteration. If the host is actually dead all the pattern expansions would fail, but some of the patterns are literals and do not need expansion. The inner (logfile) loop would