diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2012-04-24 07:22:41 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2012-04-24 07:22:41 +0000 |
commit | af13465ffba279bcc92b2713bfa5e344f67bf427 (patch) | |
tree | 0cf53f430b53d6d2e7cf6b93bd4525029581b5e6 /contrib | |
parent | a1e179f5b74bef253aa2020eb5d21b292c42f441 (diff) | |
download | gcc-af13465ffba279bcc92b2713bfa5e344f67bf427.zip gcc-af13465ffba279bcc92b2713bfa5e344f67bf427.tar.gz gcc-af13465ffba279bcc92b2713bfa5e344f67bf427.tar.bz2 |
compare_tests: Append '/' to make 'find' traverse symlinked directories.
2012-04-23 Manuel López-Ibáñez <manu@gcc.gnu.org>
contrib/
* compare_tests: Append '/' to make 'find' traverse
symlinked directories.
From-SVN: r186750
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" |