#!/bin/sh

# Purpose: to test if any key entries of the rts files used in OWB has no more than 4000 characters.
# How to run: ./rts_test.sh
# Log file location: shiphome/owb/bin/admin/RTSTest_log.000.log
# If the test scceeds, the following sentence can be found at the end of the log file:
# "The RTS Test ends successfully."
# Otherwise, 
# "The RTS Test ends with error(s)."
# Meanwhile, the detail error message can be found like the following:
# "oracle/wh/resource/
#     Admin.rts
#         Error: key 'PrefRecyclebinExplainLabel' has more than 4000 characters! "

eval `cat setowbenv.sh`
cd ../admin

$JAVAPATH/bin/java $JAVA64FLAG $CLASSPATH_LAUNCHER build.rtstest.RTSTester

cd ../unix
