test/jdk/tools/jjs/jjs-fileTest.sh
changeset 50878 fb7800b66c92
parent 47216 71c04702a3d5
equal deleted inserted replaced
50877:700fffd3c871 50878:fb7800b66c92
    33 
    33 
    34 . ${TESTSRC-.}/common.sh
    34 . ${TESTSRC-.}/common.sh
    35 
    35 
    36 setup
    36 setup
    37 rm -f jjs-fileTest.out 2>/dev/null
    37 rm -f jjs-fileTest.out 2>/dev/null
    38 ${JJS} -J-Djava.security.manager ${TESTSRC}/file.js > jjs-fileTest.out 2>&1
    38 ${JJS} --no-deprecation-warning -J-Djava.security.manager ${TESTSRC}/file.js > jjs-fileTest.out 2>&1
    39 
    39 
    40 $golden_diff jjs-fileTest.out ${TESTSRC}/file.out
    40 $golden_diff jjs-fileTest.out ${TESTSRC}/file.out
    41 if [ $? != 0 ]
    41 if [ $? != 0 ]
    42 then
    42 then
    43   echo "Output of jjs file.js differ from expected output. Failed."
    43   echo "Output of jjs file.js differ from expected output. Failed."