From af13465ffba279bcc92b2713bfa5e344f67bf427 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20L=C3=B3pez-Ib=C3=A1=C3=B1ez?= Date: Tue, 24 Apr 2012 07:22:41 +0000 Subject: [PATCH] compare_tests: Append '/' to make 'find' traverse symlinked directories. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2012-04-23 Manuel López-Ibáñez contrib/ * compare_tests: Append '/' to make 'find' traverse symlinked directories. From-SVN: r186750 --- contrib/ChangeLog | 5 +++++ contrib/compare_tests | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 97b86454d6c..b6b7c61d031 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,8 @@ +2012-04-23 Manuel López-Ibáñez + + * compare_tests: Append '/' to make 'find' traverse + symlinked directories. + 2012-04-16 Rainer Orth * testsuite-management/validate_failures.py (GetBuildData): Use diff --git a/contrib/compare_tests b/contrib/compare_tests index 2fc6e056fc6..4afc07cbead 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"