# Written by Mike Stump <mrs@cygnus.com>
# Subdir comparison added by Quentin Neill <quentin.neill@amd.com>
+export LC_ALL=C
+
tool=gxx
tmp1=/tmp/$tool-testing.$$a
exit_status=0
if [ -d "$1" -a -d "$2" ] ; then
- find "$1" -name '*.sum' >$lst1
- find "$2" -name '*.sum' >$lst2
+ find "$1/" -name '*.sum' >$lst1
+ find "$2/" -name '*.sum' >$lst2
echo "# Comparing directories"
echo "## Dir1=$1: `cat $lst1 | wc -l` sum files"
echo "## Dir2=$2: `cat $lst2 | wc -l` sum files"