test/sun/tools/jhat/ParseTest.sh

Print this page

        

@@ -1,9 +1,9 @@
 #!/bin/sh
 
 #
-# Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2006, 2010, Oracle and/or its affiliates. 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
 # under the terms of the GNU General Public License version 2 only, as
 # published by the Free Software Foundation.

@@ -30,12 +30,16 @@
 
 # @library ../common
 # @run shell ParseTest.sh
 
 . ${TESTSRC}/../common/CommonSetup.sh
-. ${TESTSRC}/../common/ApplicationSetup.sh
 
+# all return statuses are checked in this test
+set +e
+
+failed=0
+
 DUMPFILE="minimal.bin"
 
 ${JHAT} -parseonly true ${TESTSRC}/${DUMPFILE}
 if [ $? != 0 ]; then failed=1; fi