mirror of
https://github.com/trapd00r/LS_COLORS.git
synced 2024-12-22 05:42:12 +01:00
19 lines
287 B
Text
19 lines
287 B
Text
|
#!/usr/bin/env bash
|
||
|
#
|
||
|
|
||
|
errors=0
|
||
|
|
||
|
for file in ./tests/* ; do
|
||
|
if [[ -e "$file" ]] ; then
|
||
|
echo "$file"
|
||
|
echo "--"
|
||
|
bash "$file" ; ((errors += $?))
|
||
|
echo ""
|
||
|
fi
|
||
|
done
|
||
|
|
||
|
if [[ "$errors" -ne 0 ]] ; then
|
||
|
echo "Test failures: $errors"
|
||
|
exit "$errors"
|
||
|
fi
|