blob: be3704c814a705d326fc206a8e53444fcc768f22 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/usr/bin/env bash
set -uo pipefail
BINARY=./target/debug/oryx
COUNT=${COUNT:-100}
success=0
fail=0
for ((i=1; i<=COUNT; i++)); do
printf '%3d: ' "$i"
if "$BINARY" "$@"; then
echo success
((success++))
else
echo fail
((fail++))
fi
done
echo "Done: $success succeeded, $fail failed"
|