Relates :
|
test/runtime/7107135/Test7107135.sh: 87 echo Test changing of stack protection: 88 echo ${TESTJAVA}${FS}bin${FS}java -cp ${THIS_DIR} Test test-rw 89 ${TESTJAVA}${FS}bin${FS}java -cp ${THIS_DIR} Test test-rwx 90 91 if [ "$?" == "0" ] 92 then 93 echo 94 echo ${TESTJAVA}${FS}bin${FS}java -cp ${THIS_DIR} TestMT test-rwx 95 ${TESTJAVA}${FS}bin${FS}java -cp ${THIS_DIR} TestMT test-rwx 96 fi 97 98 exit $? Even if java execution fails, exit code becomes zero after 'if' statement evaluation.
|