summaryrefslogtreecommitdiff
path: root/contrib/compare_tests
diff options
context:
space:
mode:
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2012-04-24 07:22:41 +0000
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2012-04-24 07:22:41 +0000
commit58f94e6b9d27594fa46a32051589b068b6c5bea5 (patch)
tree0cf53f430b53d6d2e7cf6b93bd4525029581b5e6 /contrib/compare_tests
parent10fbe63d951ca7cecaff58553639b3d5aecd996a (diff)
downloadgcc-58f94e6b9d27594fa46a32051589b068b6c5bea5.tar.gz
2012-04-23 Manuel López-Ibáñez <manu@gcc.gnu.org>
contrib/ * compare_tests: Append '/' to make 'find' traverse symlinked directories. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186750 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib/compare_tests')
-rwxr-xr-xcontrib/compare_tests4
1 files changed, 2 insertions, 2 deletions
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"