aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorKyle Galloway <kgallowa@gcc.gnu.org>2007-01-25 14:42:45 +0000
committerKyle Galloway <kgallowa@gcc.gnu.org>2007-01-25 14:42:45 +0000
commitfd1830eba21b9c839b0a7ee2ddfb43d2c081f679 (patch)
treebf51d6781e608abc7fb805cdd85c2e036e2b19a5 /libjava
parent4ca40ac0498121d1112106e777733533c787c96c (diff)
downloadgcc-fd1830eba21b9c839b0a7ee2ddfb43d2c081f679.zip
gcc-fd1830eba21b9c839b0a7ee2ddfb43d2c081f679.tar.gz
gcc-fd1830eba21b9c839b0a7ee2ddfb43d2c081f679.tar.bz2
libjava.exp (exec_gij): Change [ to { in if statement.
2007-01-25 Kyle Galloway <kgallowa@redhat.com> * testsuite/libjava.jvmti/lib/libjava.exp (exec_gij): Change [ to { in if statement. From-SVN: r121174
Diffstat (limited to 'libjava')
-rw-r--r--libjava/testsuite/lib/libjava.exp10
1 files changed, 6 insertions, 4 deletions
diff --git a/libjava/testsuite/lib/libjava.exp b/libjava/testsuite/lib/libjava.exp
index e20365a..09d4f09 100644
--- a/libjava/testsuite/lib/libjava.exp
+++ b/libjava/testsuite/lib/libjava.exp
@@ -511,8 +511,10 @@ proc exec_gij {jarfile expectFile ld_library_additions} {
set gij [libjava_find_gij]
set classname [file rootname [file tail $jarfile]]
+
+ puts "LD_LIBRARY_PATH=. $gij -cp $jarfile $classname"
- set result [libjava_load $gij "-cp $jarfile" "$classname"]
+ set result [libjava_load $gij "-cp $jarfile $classname"]
set status [lindex $result 0]
set output [lindex $result 1]
@@ -529,12 +531,12 @@ proc exec_gij {jarfile expectFile ld_library_additions} {
set expected [read $id]
close $id
- if [! [string compare $output $expected]] {
+ if {! [string compare $output $expected]} {
pass "$classname output"
return 1
} else {
- fail "$classname output"
- return 0
+ fail "$classname output"
+ return 0
}
}