From fd1830eba21b9c839b0a7ee2ddfb43d2c081f679 Mon Sep 17 00:00:00 2001 From: Kyle Galloway Date: Thu, 25 Jan 2007 14:42:45 +0000 Subject: [PATCH] libjava.exp (exec_gij): Change [ to { in if statement. 2007-01-25 Kyle Galloway * testsuite/libjava.jvmti/lib/libjava.exp (exec_gij): Change [ to { in if statement. From-SVN: r121174 --- libjava/testsuite/lib/libjava.exp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/libjava/testsuite/lib/libjava.exp b/libjava/testsuite/lib/libjava.exp index e20365a881d..09d4f099a02 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 } }