compare_tests: Append '/' to make 'find' traverse symlinked directories.
authorManuel López-Ibáñez <manu@gcc.gnu.org>
Tue, 24 Apr 2012 07:22:41 +0000 (07:22 +0000)
committerManuel López-Ibáñez <manu@gcc.gnu.org>
Tue, 24 Apr 2012 07:22:41 +0000 (07:22 +0000)
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

contrib/ChangeLog
contrib/compare_tests

index 97b86454d6c9b58d724ab90875d2a6c32d4d7671..b6b7c61d0311f789ed82215e76bcb0e92c212c6b 100644 (file)
@@ -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
index 2fc6e056fc62818581fddaa40a2540a7863f5a8e..4afc07cbead280bb7b6289ac964e5274deaff80b 100755 (executable)
@@ -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"