mirror of
https://github.com/trapd00r/LS_COLORS.git
synced 2024-11-10 21:36:36 +01:00
19 lines
287 B
Bash
Executable File
19 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
|