Tests - conversion script was failing due to binaries matching

This commit is contained in:
Renato Alves 2015-02-16 14:50:35 +00:00
parent c07d74574d
commit 9cc9e19757

View file

@ -1,8 +1,8 @@
#!/bin/sh
printf "C++: %5d\n" $(ls *.t.cpp | wc -l)
printf "Python: %5d\n" $(head -n1 *.t | grep '\bpython' | wc -l)
printf "Perl: %5d\n" $(head -n1 *.t | grep '\bperl\b' | wc -l)
printf "Python: %5d\n" $(head -n1 *.t | grep -a '\bpython' | wc -l)
printf "Perl: %5d\n" $(head -n1 *.t | grep -a '\bperl\b' | wc -l)
if [ "$1" = "-v" ]; then
echo -n "Perl left: "; echo $(grep -l '^#\! \?/usr/bin/env perl\b' *.t)
fi