add loop_until_fail helper (#31360)

* helper

* remove count
pull/31361/head
Justin Newberry 1 year ago committed by GitHub
parent 4fea2a343a
commit 2e7ed5bd88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 8
      selfdrive/test/loop_until_fail.sh

@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -e
# Loop something forever until it fails, for verifying new tests
while true; do
$@
done
Loading…
Cancel
Save