summaryrefslogtreecommitdiffstats
path: root/extras/test/ld-preload-test/test-preload.sh
blob: faed5cee345033cde55d77aec437e92dc09b5264 (plain)
1
2
3
4
5
6
7
#!/bin/sh

echo "Testing 32-bit offsets build"
LD_PRELOAD="$(pwd)/ld-preload-lib.so" $(pwd)/ld-preload-test32 --path /tmp/testfile
echo
echo "Testing 64-bit offsets build"
LD_PRELOAD="$(pwd)/ld-preload-lib.so" $(pwd)/ld-preload-test64 --path /tmp/testfile