Skip to content

Commit 8eccf89

Browse files
committedFeb 25, 2025
8340660: [8u] Test com/sun/jdi/PrivateTransportTest.sh fails on MacOS
Reviewed-by: serb
1 parent 85fb26b commit 8eccf89

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
 

‎jdk/test/com/sun/jdi/PrivateTransportTest.sh

+5-5
Original file line numberDiff line numberDiff line change
@@ -148,13 +148,13 @@ elif [ -f ${libloc}/libdt_socket.dylib ]; then
148148
echo cp ${libloc}/libdt_socket.dylib ${fullpath}
149149
cp ${libloc}/libdt_socket.dylib ${fullpath}
150150
# make sure we can find libraries in current directory
151-
if [ "${LD_LIBRARY_PATH}" = "" ] ; then
152-
LD_LIBRARY_PATH=${libdir}
151+
if [ "${DYLD_LIBRARY_PATH}" = "" ] ; then
152+
DYLD_LIBRARY_PATH=${libdir}
153153
else
154-
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${libdir}
154+
DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:${libdir}
155155
fi
156-
export LD_LIBRARY_PATH
157-
echo LD_LIBRARY_PATH=${LD_LIBRARY_PATH}
156+
export DYLD_LIBRARY_PATH
157+
echo DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}
158158
elif [ -f ${libloc}/libdt_socket.so ] ; then
159159
fullpath=${libdir}/lib${private_transport}.so
160160
rm -f ${fullpath}

0 commit comments

Comments
 (0)
Please sign in to comment.