diff options
author | Kyle Galloway <kgallowa@gcc.gnu.org> | 2007-01-25 14:42:45 +0000 |
---|---|---|
committer | Kyle Galloway <kgallowa@gcc.gnu.org> | 2007-01-25 14:42:45 +0000 |
commit | fd1830eba21b9c839b0a7ee2ddfb43d2c081f679 (patch) | |
tree | bf51d6781e608abc7fb805cdd85c2e036e2b19a5 /libjava | |
parent | 4ca40ac0498121d1112106e777733533c787c96c (diff) | |
download | gcc-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.exp | 10 |
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 } } |