summaryrefslogtreecommitdiff
path: root/tests/scripts/memfail.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scripts/memfail.sh')
-rwxr-xr-xtests/scripts/memfail.sh16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/scripts/memfail.sh b/tests/scripts/memfail.sh
deleted file mode 100755
index c0076d1..0000000
--- a/tests/scripts/memfail.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-
-set -e
-
-export APLWC_ALLOC_FAIL_AFTER=-1
-N=$($1 3>&1 1>/dev/null 2>/dev/null)
-n=0
-
-while [ "$n" -le "$N" ]
-do
- echo $n out of $N
- export APLWC_ALLOC_FAIL_AFTER=$n
- $1 1>/dev/null 2>/dev/null
-
- n=$((n + 1))
-done