Files
sunnypilot/selfdrive/test/loop_until_fail.sh
Justin Newberry 48e178760c add loop_until_fail helper (#31360)
* helper

* remove count
old-commit-hash: 2e7ed5bd88
2024-02-07 17:07:01 -08:00

9 lines
119 B
Bash
Executable File

#!/usr/bin/env bash
set -e
# Loop something forever until it fails, for verifying new tests
while true; do
$@
done