openpilot0/selfdrive/test/loop_until_fail.sh

9 lines
119 B
Bash
Raw Normal View History

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