changeset 6861:099aef37c20a

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
author ctornqvi
date Tue, 12 Aug 2014 17:29:47 -0700
parents 8c018e00452f
children a59f28b051ef
files test/runtime/jsig/Test8017498.sh
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/runtime/jsig/Test8017498.sh	Tue Aug 12 21:18:14 2014 +0000
+++ b/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