all: Misc fixes and test fixes

This commit is contained in:
James Shubin
2018-02-25 02:13:51 -05:00
parent 06f2d65500
commit 40dcd6ec99
4 changed files with 8 additions and 4 deletions

View File

@@ -12,11 +12,15 @@ ROOT=$(dirname "${BASH_SOURCE}")/..
cd "${ROOT}"
. test/util.sh
M="Makefile"
find_files() {
git ls-files | grep -e '\.sh$' -e '\.bash$' | grep -v 'misc/delta-cpu.sh'
}
bad_files=$(
if grep -q '^ ' "$M"; then
echo "$M"
fi
for i in $(find_files); do
# search for more than one leading space, to ensure we use tabs
if grep -q '^ ' "$i"; then