mirror of
https://github.com/trapd00r/LS_COLORS.git
synced 2024-12-22 22:02:12 +01:00
18 lines
287 B
Bash
Executable file
18 lines
287 B
Bash
Executable file
#!/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
|