提交 c3d5684f 编写于 作者: W weijun

7083664: test hard code of using c:/temp but this dir might not exist

Reviewed-by: xuelei, ohair
上级 9b290695
......@@ -54,19 +54,16 @@ case "$OS" in
NULL=/dev/null
PS=":"
FS="/"
TMP=/tmp
;;
CYGWIN* )
NULL=/dev/null
PS=";"
FS="/"
TMP=/tmp
;;
Windows_95 | Windows_98 | Windows_NT )
NULL=NUL
PS=";"
FS="\\"
TMP="c:/temp"
;;
* )
echo "Unrecognized system!"
......
......@@ -51,21 +51,18 @@ case "$OS" in
PS=":"
FS="/"
CP="${FS}bin${FS}cp -f"
TMP=/tmp
;;
CYGWIN* )
NULL=/dev/null
PS=";"
FS="/"
CP="cp -f"
TMP=/tmp
;;
Windows_* )
NULL=NUL
PS=";"
FS="\\"
CP="cp -f"
TMP="c:/temp"
;;
* )
echo "Unrecognized operating system!"
......
......@@ -51,21 +51,18 @@ case "$OS" in
PS=":"
FS="/"
CP="${FS}bin${FS}cp -f"
TMP=/tmp
;;
CYGWIN* )
NULL=/dev/null
PS=";"
FS="/"
CP="cp -f"
TMP=/tmp
;;
Windows_* )
NULL=NUL
PS=";"
FS="\\"
CP="cp -f"
TMP="c:/temp"
;;
* )
echo "Unrecognized operating system!"
......
......@@ -46,21 +46,18 @@ case "$OS" in
PS=":"
FS="/"
CP="${FS}bin${FS}cp -f"
TMP=/tmp
;;
CYGWIN* )
NULL=/dev/null
PS=";"
FS="/"
CP="cp -f"
TMP=/tmp
;;
Windows_* )
NULL=NUL
PS=";"
FS="\\"
CP="cp -f"
TMP="c:/temp"
;;
* )
echo "Unrecognized operating system!"
......
......@@ -47,21 +47,18 @@ case "$OS" in
PS=":"
FS="/"
CP="${FS}bin${FS}cp -f"
TMP=/tmp
;;
CYGWIN* )
NULL=/dev/null
PS=";"
FS="/"
CP="cp -f"
TMP=/tmp
;;
Windows_* )
NULL=NUL
PS=";"
FS="\\"
CP="cp -f"
TMP="c:/temp"
;;
* )
echo "Unrecognized operating system!"
......
......@@ -50,19 +50,16 @@ case "$OS" in
NULL=/dev/null
PS=":"
FS="/"
TMP=/tmp
;;
CYGWIN* )
NULL=/dev/null
PS=";"
FS="/"
TMP=/tmp
;;
Windows_* )
NULL=NUL
PS=";"
FS="\\"
TMP="c:/temp"
;;
* )
echo "Unrecognized operating system!"
......
......@@ -49,19 +49,16 @@ case "$OS" in
NULL=/dev/null
PS=":"
FS="/"
TMP=/tmp
;;
CYGWIN* )
NULL=/dev/null
PS=";"
FS="/"
TMP=/tmp
;;
Windows_* )
NULL=NUL
PS=";"
FS="\\"
TMP="c:/temp"
;;
* )
echo "Unrecognized operating system!"
......
......@@ -50,19 +50,16 @@ case "$OS" in
NULL=/dev/null
PS=":"
FS="/"
TMP=/tmp
;;
CYGWIN* )
NULL=/dev/null
PS=";"
FS="/"
TMP=/tmp
;;
Windows_* )
NULL=NUL
PS=";"
FS="\\"
TMP="c:/temp"
;;
* )
echo "Unrecognized operating system!"
......
......@@ -50,19 +50,16 @@ case "$OS" in
NULL=/dev/null
PS=":"
FS="/"
TMP=/tmp
;;
CYGWIN* )
NULL=/dev/null
PS=";"
FS="/"
TMP=/tmp
;;
Windows* )
NULL=NUL
PS=";"
FS="\\"
TMP="c:/temp"
;;
* )
echo "Unrecognized system!"
......
......@@ -46,17 +46,14 @@ case "$OS" in
SunOS | Linux )
NULL=/dev/null
FS="/"
TMP=/tmp
;;
CYGWIN* )
NULL=/dev/null
FS="/"
TMP=/tmp
;;
Windows_* )
NULL=NUL
FS="\\"
TMP="c:/temp"
;;
* )
echo "Unrecognized operating system!"
......@@ -65,13 +62,11 @@ case "$OS" in
esac
# the test code
${TESTJAVA}${FS}bin${FS}keytool > ${TMP}${FS}temp_file_40875602475 2> ${NULL}
grep MissingResourceException ${TMP}${FS}temp_file_40875602475
${TESTJAVA}${FS}bin${FS}keytool > temp_file_40875602475 2> ${NULL}
grep MissingResourceException temp_file_40875602475
if [ $? -eq 0 ]; then
rm ${TMP}${FS}temp_file_40875602475
exit 1
fi
rm ${TMP}${FS}temp_file_40875602475
exit 0
......@@ -51,13 +51,11 @@ case "$OS" in
NULL=/dev/null
PS=":"
FS="/"
TMP=/tmp
;;
Windows* )
NULL=NUL
PS=";"
FS="\\"
TMP="c:/temp"
;;
* )
echo "Unrecognized system!"
......
......@@ -50,13 +50,11 @@ case "$OS" in
NULL=/dev/null
PS=":"
FS="/"
TMP=/tmp
;;
Windows* )
NULL=NUL
PS=";"
FS="\\"
TMP="c:/temp"
;;
* )
echo "Unrecognized system!"
......
......@@ -50,13 +50,11 @@ case "$OS" in
NULL=/dev/null
PS=":"
FS="/"
TMP=/tmp
;;
Windows* )
NULL=NUL
PS=";"
FS="\\"
TMP="c:/temp"
;;
* )
echo "Unrecognized system!"
......
......@@ -51,13 +51,11 @@ case "$OS" in
NULL=/dev/null
PS=":"
FS="/"
TMP=/tmp
;;
Windows* )
NULL=NUL
PS=";"
FS="\\"
TMP="c:/temp"
;;
* )
echo "Unrecognized system!"
......
......@@ -50,13 +50,11 @@ case "$OS" in
NULL=/dev/null
PS=":"
FS="/"
TMP=/tmp
;;
Windows* )
NULL=NUL
PS=";"
FS="\\"
TMP="c:/temp"
;;
* )
echo "Unrecognized system!"
......
......@@ -50,13 +50,11 @@ case "$OS" in
NULL=/dev/null
PS=":"
FS="/"
TMP=/tmp
;;
Windows* )
NULL=NUL
PS=";"
FS="\\"
TMP="c:/temp"
;;
* )
echo "Unrecognized system!"
......
......@@ -50,13 +50,11 @@ case "$OS" in
NULL=/dev/null
PS=":"
FS="/"
TMP=/tmp
;;
Windows* )
NULL=NUL
PS=";"
FS="\\"
TMP="c:/temp"
;;
* )
echo "Unrecognized system!"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册