* testsuite/icf_safe_so_test.sh: Add #!/bin/sh to start.
authorSriraman Tallam <tmsriram@google.com>
Mon, 21 Mar 2011 20:55:33 +0000 (20:55 +0000)
committerSriraman Tallam <tmsriram@google.com>
Mon, 21 Mar 2011 20:55:33 +0000 (20:55 +0000)
Change == to -eq.
* testsuite/icf_string_merge_test.sh: Add #!/bin/sh to start.
* testsuite/icf_safe_test.sh: Add #!/bin/sh to start.
Change == to -eq.
* testsuite/icf_sht_rel_addend_test.sh: Add #!/bin/sh to start.
* testsuite/icf_preemptible_functions_test.sh: Add #!/bin/sh to start.

gold/ChangeLog
gold/testsuite/icf_preemptible_functions_test.sh
gold/testsuite/icf_safe_so_test.sh
gold/testsuite/icf_safe_test.sh
gold/testsuite/icf_sht_rel_addend_test.sh
gold/testsuite/icf_string_merge_test.sh

index ed3dc6c..dacc36a 100644 (file)
@@ -1,3 +1,13 @@
+2011-03-21  Sriraman Tallam  <tmsriram@google.com>
+
+       * testsuite/icf_safe_so_test.sh: Add #!/bin/sh to start.
+       Change == to -eq.
+       * testsuite/icf_string_merge_test.sh: Add #!/bin/sh to start.
+       * testsuite/icf_safe_test.sh: Add #!/bin/sh to start.
+       Change == to -eq.
+       * testsuite/icf_sht_rel_addend_test.sh: Add #!/bin/sh to start.
+       * testsuite/icf_preemptible_functions_test.sh: Add #!/bin/sh to start.
+
 2011-03-14  Ian Lance Taylor  <iant@google.com>
 
        * script-sections.cc (Sort_output_sections::script_compare):
index 27cf459..dd90d7f 100755 (executable)
@@ -1,3 +1,5 @@
+#!/bin/sh
+
 # icf_preemptible_functions_test.sh -- test --icf=all
 
 # Copyright 2010 Free Software Foundation, Inc.
index 315a016..2c88250 100755 (executable)
@@ -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 d26d40b..74a7fb9 100755 (executable)
@@ -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 d2a05e4..9077e25 100755 (executable)
@@ -1,3 +1,5 @@
+#!/bin/sh
+
 # icf_sht_rel_addend_test.sh -- test --icf=all
 
 # Copyright 2010 Free Software Foundation, Inc.
index f22f212..e8d70de 100755 (executable)
@@ -1,3 +1,5 @@
+#!/bin/sh
+
 # icf_string_merge_test.sh -- test --icf=all
 
 # Copyright 2010 Free Software Foundation, Inc.