summaryrefslogtreecommitdiff
path: root/scripts/docker/helper/run-until-error.sh
blob: a4cab6ec5485e5986d425457e49405dc1a55ecd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

status=0
runs=10

while [ ${status} -eq 0 -a ${runs} -gt 0 ]; do
  echo "=== RUN ${runs}"
  make rm-all-containers
  make run-perf-test
  status=${?}
  runs=`expr ${runs} - 1`
done