mirror of
https://github.com/trapd00r/LS_COLORS.git
synced 2024-11-18 01:20:37 +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
|