run supervisor/repro in a loop
@@ -18,6 +18,7 @@ Set-Location C:\onefuzz
Enable-SSH
$config = Get-OnefuzzConfig
+while ($true) {
switch ($config.mode) {
"fuzz" {
log "onefuzz: fuzzing"
@@ -32,3 +33,5 @@ switch ($config.mode) {
exit 1
}
}
+ log "onefuzz unexpectedly exited, restarting"
+}
