summaryrefslogtreecommitdiff
path: root/tests/test-case-sensitivity.sh
blob: 5cdfce29449865dee02e7fe1deb904da2aa02df7 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

SRC_ROOT_DIR=`dirname $0`/..
OUTPUT=$(find $SRC_ROOT_DIR | grep -v './.git' | tr '[:upper:]' '[:lower:]' | sort | uniq -d)

if test -n "$OUTPUT" ; then
	echo "There will be a case collision for a number of files on case insensitive filesystems"
	exit 1
fi
exit 0