8054713: [TESTBUG] runtime/jsig/Test8017498.sh: Execution failed: exit code 1

Changed output directory of gcc to avoid permission problems

Reviewed-by: coleenp, minqi
This commit is contained in:
Christian Tornqvist 2014-08-12 17:29:47 -07:00
parent 0604ebb2bf
commit 69c1d825ff

View File

@ -74,7 +74,7 @@ ${COMPILEJAVA}${FS}bin${FS}javac *.java
$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 @@ $gcc_cmd -DLINUX -fPIC -shared \
# 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