diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ChangeLog | 5 | ||||
-rwxr-xr-x | contrib/compare_tests | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 97b8645..b6b7c61 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,8 @@ +2012-04-23 Manuel López-Ibáñez <manu@gcc.gnu.org> + + * compare_tests: Append '/' to make 'find' traverse + symlinked directories. + 2012-04-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * testsuite-management/validate_failures.py (GetBuildData): Use diff --git a/contrib/compare_tests b/contrib/compare_tests index 2fc6e05..4afc07c 100755 --- a/contrib/compare_tests +++ b/contrib/compare_tests @@ -55,8 +55,8 @@ trap "rm -f $tmps" 0 1 2 3 5 9 13 15 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" |