13 lines
311 B
Bash
Executable file
13 lines
311 B
Bash
Executable file
#!/bin/sh
|
|
|
|
test -z "$RUNTESTS" && exit 0 # nothing to do
|
|
|
|
echo ""
|
|
echo "[!] RUNTESTS=1 was set "
|
|
echo "[.] running tests in /test/*"
|
|
echo ""
|
|
|
|
find -L /test/* -type f -executable -maxdepth 1 | while read testscript; do
|
|
echo "[.] test: "$testscript
|
|
$testscript "$@" 2>&1 | awk '{ print " | "$0 }'
|
|
done
|