8054713: [TESTBUG] runtime/jsig/Test8017498.sh: Execution failed: exit code 1
authorctornqvi
Tue, 12 Aug 2014 17:29:47 -0700
changeset 25954 479ecda8cf90
parent 25953 3161fb8a658e
child 25956 99be217ac88d
8054713: [TESTBUG] runtime/jsig/Test8017498.sh: Execution failed: exit code 1 Summary: Changed output directory of gcc to avoid permission problems Reviewed-by: coleenp, minqi
hotspot/test/runtime/jsig/Test8017498.sh
--- a/hotspot/test/runtime/jsig/Test8017498.sh	Tue Aug 12 21:18:14 2014 +0000
+++ b/hotspot/test/runtime/jsig/Test8017498.sh	Tue Aug 12 17:29:47 2014 -0700
@@ -74,7 +74,7 @@
 
 $gcc_cmd -DLINUX -fPIC -shared \
     ${EXTRA_CFLAG} -z noexecstack \
-    -o ${TESTSRC}${FS}libTestJNI.so \
+    -o libTestJNI.so \
     -I${COMPILEJAVA}${FS}include \
     -I${COMPILEJAVA}${FS}include${FS}linux \
     ${TESTSRC}${FS}TestJNI.c
@@ -82,7 +82,7 @@
 # run the java test in the background
 cmd="LD_PRELOAD=$MY_LD_PRELOAD \
     ${TESTJAVA}${FS}bin${FS}java \
-    -Djava.library.path=${TESTSRC}${FS} -server TestJNI 100"
+    -Djava.library.path=. -server TestJNI 100"
 echo "$cmd > test.out 2>&1"
 eval $cmd > test.out 2>&1