From 9cc9e19757ee6c19e9f4322b57fb897c5a34e893 Mon Sep 17 00:00:00 2001 From: Renato Alves Date: Mon, 16 Feb 2015 14:50:35 +0000 Subject: [PATCH] Tests - conversion script was failing due to binaries matching --- test/conversion | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/conversion b/test/conversion index a83daf5aa..6fa6fa23b 100755 --- a/test/conversion +++ b/test/conversion @@ -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