jdk/test/sun/tools/jinfo/Basic.sh
changeset 12047 320a714614e9
parent 10886 ffcc9a618277
child 13011 a3a06390f67b
--- a/jdk/test/sun/tools/jinfo/Basic.sh	Tue Mar 06 10:25:45 2012 +0800
+++ b/jdk/test/sun/tools/jinfo/Basic.sh	Tue Mar 06 20:34:38 2012 +0000
@@ -1,5 +1,4 @@
 #!/bin/sh
-
 #
 # Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -46,6 +45,10 @@
 
 runSA=true
 
+if [ $isMacos = true ]; then
+    runSA=false
+fi
+
 if [ $isLinux = true ]; then
     # Some Linux systems disable non-child ptrace (see 7050524)
     ptrace_scope=`/sbin/sysctl -n kernel.yama.ptrace_scope`