Trashy support of ld-linux-*.so like for x64
This commit is contained in:
parent
f2ff0cd74c
commit
031d9d0fb4
10
run_tests.sh
10
run_tests.sh
|
@ -26,11 +26,19 @@ EOF
|
|||
exit
|
||||
fi
|
||||
|
||||
make clean
|
||||
|
||||
if [ "$1" = c ]
|
||||
then
|
||||
make && make test
|
||||
/lib/ld-linux.so.2 --library-path . ./test /usr/bin/top
|
||||
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
|
||||
exit
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue