6705313: Incorrect exit $? in keytool's autotest.sh
Reviewed-by: valeriep
This commit is contained in:
parent
e072682162
commit
c0dfc6ea21
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
|
||||
# Copyright 2006-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
#
|
||||
# This code is free software; you can redistribute it and/or modify it
|
||||
@ -90,7 +90,8 @@ chmod u+w cert8.db
|
||||
|
||||
echo | ${TESTJAVA}${FS}bin${FS}java -Dfile -Dnss \
|
||||
-Dnss.lib=${NSS}${FS}lib${FS}${PF}${FS}${LIBNAME} \
|
||||
KeyToolTest || exit 12
|
||||
KeyToolTest
|
||||
status=$?
|
||||
|
||||
rm -f p11-nss.txt
|
||||
rm -f cert8.db
|
||||
@ -101,4 +102,5 @@ rm HumanInputStream*.class
|
||||
rm KeyToolTest.class
|
||||
rm TestException.class
|
||||
|
||||
exit $?
|
||||
exit $status
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user