diff options
author | Sriraman Tallam <tmsriram@google.com> | 2011-03-21 20:55:33 +0000 |
---|---|---|
committer | Sriraman Tallam <tmsriram@google.com> | 2011-03-21 20:55:33 +0000 |
commit | 7e12ba9e7aa2d23257135c1f6798991909f8a4ed (patch) | |
tree | 3240f2a232750cd41c0bf9a95f8e1fc41dad5cd2 /gold | |
parent | 4fb8d1c60ac887a0e835e9c7dfe5cffd7f1cb3dd (diff) | |
download | gdb-7e12ba9e7aa2d23257135c1f6798991909f8a4ed.zip gdb-7e12ba9e7aa2d23257135c1f6798991909f8a4ed.tar.gz gdb-7e12ba9e7aa2d23257135c1f6798991909f8a4ed.tar.bz2 |
* 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.
Diffstat (limited to 'gold')
-rw-r--r-- | gold/ChangeLog | 10 | ||||
-rwxr-xr-x | gold/testsuite/icf_preemptible_functions_test.sh | 2 | ||||
-rwxr-xr-x | gold/testsuite/icf_safe_so_test.sh | 4 | ||||
-rwxr-xr-x | gold/testsuite/icf_safe_test.sh | 4 | ||||
-rwxr-xr-x | gold/testsuite/icf_sht_rel_addend_test.sh | 2 | ||||
-rwxr-xr-x | gold/testsuite/icf_string_merge_test.sh | 2 |
6 files changed, 22 insertions, 2 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index ed3dc6c..dacc36a 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -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): diff --git a/gold/testsuite/icf_preemptible_functions_test.sh b/gold/testsuite/icf_preemptible_functions_test.sh index 27cf459..dd90d7f 100755 --- a/gold/testsuite/icf_preemptible_functions_test.sh +++ b/gold/testsuite/icf_preemptible_functions_test.sh @@ -1,3 +1,5 @@ +#!/bin/sh + # icf_preemptible_functions_test.sh -- test --icf=all # Copyright 2010 Free Software Foundation, Inc. diff --git a/gold/testsuite/icf_safe_so_test.sh b/gold/testsuite/icf_safe_so_test.sh index 315a016..2c88250 100755 --- a/gold/testsuite/icf_safe_so_test.sh +++ b/gold/testsuite/icf_safe_so_test.sh @@ -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 diff --git a/gold/testsuite/icf_safe_test.sh b/gold/testsuite/icf_safe_test.sh index d26d40b..74a7fb9 100755 --- a/gold/testsuite/icf_safe_test.sh +++ b/gold/testsuite/icf_safe_test.sh @@ -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 diff --git a/gold/testsuite/icf_sht_rel_addend_test.sh b/gold/testsuite/icf_sht_rel_addend_test.sh index d2a05e4..9077e25 100755 --- a/gold/testsuite/icf_sht_rel_addend_test.sh +++ b/gold/testsuite/icf_sht_rel_addend_test.sh @@ -1,3 +1,5 @@ +#!/bin/sh + # icf_sht_rel_addend_test.sh -- test --icf=all # Copyright 2010 Free Software Foundation, Inc. diff --git a/gold/testsuite/icf_string_merge_test.sh b/gold/testsuite/icf_string_merge_test.sh index f22f212..e8d70de 100755 --- a/gold/testsuite/icf_string_merge_test.sh +++ b/gold/testsuite/icf_string_merge_test.sh @@ -1,3 +1,5 @@ +#!/bin/sh + # icf_string_merge_test.sh -- test --icf=all # Copyright 2010 Free Software Foundation, Inc. |