diff --git a/run_tests.sh b/run_tests.sh index 82f7745..791488e 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -55,14 +55,7 @@ make clean if [ "$1" = c ] then make && make test - if [ -x /lib/ld-linux-*.so.2 ] - then - echo Using /lib/ld-linux-*.so.2 to run test - /lib/ld-linux-*.so.2 --library-path . ./test /usr/bin/top - else - echo Using /lib/ld-linux.so.2 to run test - /lib/ld-linux.so.2 --library-path . ./test /usr/bin/top - fi + LD_LIBRARY_PATH=. ./test /usr/bin/top exit fi