diff --git a/tests/ipc_sock.test b/tests/ipc_sock.test index ac6d69be..57e33462 100755 --- a/tests/ipc_sock.test +++ b/tests/ipc_sock.test @@ -5,13 +5,13 @@ # so we can test both options without breaking other things # that might be running on this system # -if [ "`uname -s`" = "Linux" ] +if [ "$(uname -s)" = "Linux" ] then if [ -f `pwd`/.libs/libstat_wrapper.so ] then - export LD_PRELOAD=`pwd`/.libs/libstat_wrapper.so + export LD_PRELOAD=$(pwd)/.libs/libstat_wrapper.so else - export LD_PRELOAD=`pwd`/libstat_wrapper.so + export LD_PRELOAD=$(pwd)/libstat_wrapper.so fi ./ipc.test else