summaryrefslogtreecommitdiffstats
path: root/extras/test/ld-preload-test/test-preload.sh
diff options
context:
space:
mode:
Diffstat (limited to 'extras/test/ld-preload-test/test-preload.sh')
-rwxr-xr-xextras/test/ld-preload-test/test-preload.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/extras/test/ld-preload-test/test-preload.sh b/extras/test/ld-preload-test/test-preload.sh
new file mode 100755
index 00000000000..faed5cee345
--- /dev/null
+++ b/extras/test/ld-preload-test/test-preload.sh
@@ -0,0 +1,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