test/com/sun/jdi/PrivateTransportTest.sh

Print this page

        

@@ -100,32 +100,11 @@
 libdir=${TESTCLASSES}
 
 is_windows=false
 is_cygwin=false
 case `uname -s` in 
-  SunOS)
-    libarch=`uname -p`
-    d64=`echo "${DEBUGGEEFLAGS}" | fgrep -- -d64`
-    case `uname -p` in
-      sparc)
-        if [ "${d64}" != "" ] ; then
-            libarch=sparcv9
-        fi
-        ;;
-      i386)
-        if [ "${d64}" != "" ] ; then
-            libarch=amd64
-        fi
-        ;;
-      *)
-        echo "FAILURE:  Unknown uname -p: " `uname -p`
-        exit 1
-        ;;
-    esac
-    libloc=${jreloc}/lib/${libarch}
-    ;;
-  Linux)
+  SunOS|Linux)
     xx=`find ${jreloc}/lib -name libdt_socket.so`
     libloc=`dirname ${xx}`
     ;;
   Darwin)
     libloc=${jreloc}/lib