Last change
on this file since 99553 was 91612, checked in by vboxsync, 3 years ago |
src/libs: Export libtpms-0.9.0, bugref:10078
|
-
Property svn:executable
set to
*
|
File size:
382 bytes
|
Line | |
---|
1 | #!/usr/bin/env bash
|
---|
2 |
|
---|
3 | TESTDIR=${abs_top_testdir:-$(dirname "$0")}
|
---|
4 | DIR=${PWD}
|
---|
5 |
|
---|
6 | MAXLINES=128
|
---|
7 | l=1
|
---|
8 |
|
---|
9 | corpus=$(ls "$TESTDIR/corpus-execute-command/"*)
|
---|
10 |
|
---|
11 | while :; do
|
---|
12 | echo "Passing test cases $l to $((l + MAXLINES))"
|
---|
13 | tmp=$(echo "${corpus}" | sed -n "${l},$((l + MAXLINES))p")
|
---|
14 | [ -z "${tmp}" ] && exit 0
|
---|
15 | ${DIR}/fuzz ${tmp}
|
---|
16 | rc=$?
|
---|
17 | [ $rc -ne 0 ] && exit $rc
|
---|
18 | l=$((l + MAXLINES))
|
---|
19 | done
|
---|
Note:
See
TracBrowser
for help on using the repository browser.