#!/bin/csh
# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
set path=( $path /usr/bin /usr/sbin /bin )
set LOCALES='C en_US.UTF-8 en_US.ISO8859-1 ja_JP.PCK de_DE.ISO8859-15 ko_KR.EUC zh_CN.EUC zh_TW.EUC en_US de_DE.ISO8859-1'
set PROCESSOR='32 64'
foreach j ($PROCESSOR)
/bin/rm -f ucnv_toUChars-$j-log.txt
foreach i ($LOCALES)
/bin/rm -f ./core
echo "env LANG=$i ./ucnv_toUChars-$j" |& \
tee -a ucnv_toUChars-$j-log.txt
env LANG=$i ./ucnv_toUChars-$j |& \
tee -a ucnv_toUChars-$j-log.txt
if ( -f ./core ) echo "ERROR: core file found."
end
end
echo "Log file(s), ucnv_toUChars-{32,64}-log.txt, can be "
echo "found at the current directory."
exit 0;