diff options
Diffstat (limited to 'test/test.sh')
-rwxr-xr-x | test/test.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/test.sh b/test/test.sh index 35f2a52..1ef7439 100755 --- a/test/test.sh +++ b/test/test.sh @@ -1,6 +1,7 @@ #!/bin/sh FTPL="${FAKETIME_TESTLIB:-../src/libfaketime.so.1}" +MALLOC_INTERCEPT=./libmallocintercept.so if [ -f /etc/faketimerc ] ; then echo "Running the test program with your system-wide default in /etc/faketimerc" @@ -63,6 +64,14 @@ LD_PRELOAD="$FTPL" FAKETIME="-15d" date echo echo "=============================================================================" +echo + +echo "Running the test program with malloc interception" +echo "\$ LD_PRELOAD=./libmallocintercept.so:$FTPL ./timetest" +LD_PRELOAD="./libmallocintercept.so:$FTPL" ./timetest +echo + +echo "=============================================================================" echo "Testing finished." exit 0 |