libcruft-util/test/static.test
Danny Robson 228421d974 test: run all checks through the TAP driver
This will allow more natural checking of hashes and json as they expand.
2014-05-23 17:11:28 +10:00

15 lines
262 B
Bash
Executable File

#!/bin/sh
tests=($(find . -maxdepth 1 -type f -executable | grep -v test))
echo 1..$((${#tests[@]}))
for i in ${tests[@]};
do
$i 2>/dev/null 1>&2
case $? in
0) echo "ok - $(basename $i)";;
*) echo "not ok - $(basename $i)";;
esac
done