Index: testsuite/icf_preemptible_functions_test.sh =================================================================== RCS file: /cvs/src/src/gold/testsuite/icf_preemptible_functions_test.sh,v retrieving revision 1.1 diff -u -u -p -r1.1 icf_preemptible_functions_test.sh --- testsuite/icf_preemptible_functions_test.sh 20 Apr 2010 21:13:30 -0000 1.1 +++ testsuite/icf_preemptible_functions_test.sh 21 Mar 2011 20:27:17 -0000 @@ -1,3 +1,5 @@ +#!/bin/sh + # icf_preemptible_functions_test.sh -- test --icf=all # Copyright 2010 Free Software Foundation, Inc. Index: testsuite/icf_safe_so_test.sh =================================================================== RCS file: /cvs/src/src/gold/testsuite/icf_safe_so_test.sh,v retrieving revision 1.4 diff -u -u -p -r1.4 icf_safe_so_test.sh --- testsuite/icf_safe_so_test.sh 17 Sep 2010 23:51:42 -0000 1.4 +++ testsuite/icf_safe_so_test.sh 21 Mar 2011 20:27:17 -0000 @@ -1,3 +1,5 @@ +#!/bin/sh + # icf_safe_so_test.sh -- test --icf=safe # Copyright 2010 Free Software Foundation, Inc. @@ -76,7 +78,7 @@ check_fold() arch_specific_safe_fold() { - if [ $1 == 0 ]; + if [ $1 -eq 0 ]; then check_fold $2 $3 $4 else Index: testsuite/icf_safe_test.sh =================================================================== RCS file: /cvs/src/src/gold/testsuite/icf_safe_test.sh,v retrieving revision 1.4 diff -u -u -p -r1.4 icf_safe_test.sh --- testsuite/icf_safe_test.sh 17 Sep 2010 23:51:42 -0000 1.4 +++ testsuite/icf_safe_test.sh 21 Mar 2011 20:27:17 -0000 @@ -1,3 +1,5 @@ +#!/bin/sh + # icf_safe_test.sh -- test --icf=safe # Copyright 2009 Free Software Foundation, Inc. @@ -50,7 +52,7 @@ check_fold() arch_specific_safe_fold() { grep_x86=`grep -q -e "Advanced Micro Devices X86-64" -e "Intel 80386" -e "ARM" $2` - if [ $? == 0 ]; + if [ $? -eq 0 ]; then check_fold $1 $3 $4 else Index: testsuite/icf_sht_rel_addend_test.sh =================================================================== RCS file: /cvs/src/src/gold/testsuite/icf_sht_rel_addend_test.sh,v retrieving revision 1.1 diff -u -u -p -r1.1 icf_sht_rel_addend_test.sh --- testsuite/icf_sht_rel_addend_test.sh 29 Jul 2010 18:57:28 -0000 1.1 +++ testsuite/icf_sht_rel_addend_test.sh 21 Mar 2011 20:27:17 -0000 @@ -1,3 +1,5 @@ +#!/bin/sh + # icf_sht_rel_addend_test.sh -- test --icf=all # Copyright 2010 Free Software Foundation, Inc. Index: testsuite/icf_string_merge_test.sh =================================================================== RCS file: /cvs/src/src/gold/testsuite/icf_string_merge_test.sh,v retrieving revision 1.1 diff -u -u -p -r1.1 icf_string_merge_test.sh --- testsuite/icf_string_merge_test.sh 20 Apr 2010 21:13:30 -0000 1.1 +++ testsuite/icf_string_merge_test.sh 21 Mar 2011 20:27:17 -0000 @@ -1,3 +1,5 @@ +#!/bin/sh + # icf_string_merge_test.sh -- test --icf=all # Copyright 2010 Free Software Foundation, Inc.