blob: 3909ab8a2c698df17e3f8cba5270d7a4ecc6a3c2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh
set -e
export APLWC_ALLOC_FAIL_AFTER=-1
N=$($1 3>&1 1>/dev/null 2>/dev/null)
for n in $(seq 0 $N)
do
echo $n out of $N
export APLWC_ALLOC_FAIL_AFTER=$n
$1 1>/dev/null 2>/dev/null
done
|