added shell script 'testdup.sh' for locate duplicate includes

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
This commit is contained in:
Ilia Maslakov 2011-02-16 20:37:31 +00:00
parent bd3c950dce
commit aa8f4ffbf6

12
maint/testdup.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
echo "test lib/*"
for i in `find src -name '*.[ch]'`; do
./maint/dupincludes.pl $i
done
echo "test srs/*"
for i in `find lib -name '*.[ch]'`; do
./maint/dupincludes.pl $i
done