diff options
Diffstat (limited to 'tests/run-deleted.sh')
| -rwxr-xr-x | tests/run-deleted.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/run-deleted.sh b/tests/run-deleted.sh index 0f647621..38b9e916 100755 --- a/tests/run-deleted.sh +++ b/tests/run-deleted.sh @@ -17,8 +17,10 @@ . $srcdir/backtrace-subr.sh -tempfiles deleted deleted-lib.so -cp -p ${abs_builddir}/deleted ${abs_builddir}/deleted-lib.so . +LIBEXT=`grep "#define LIBEXT" ${abs_top_builddir}/config.h | awk '{print $3}' | sed -e 's/"//g'` + +tempfiles deleted deleted-lib$LIBEXT +cp -p ${abs_builddir}/deleted ${abs_builddir}/deleted-lib$LIBEXT . # We don't want to run the deleted process under valgrind then # stack will see the valgrind process backtrace. @@ -27,7 +29,7 @@ unset VALGRIND_CMD pid=$(testrun ${abs_builddir}/deleted) sleep 1 -rm -f deleted deleted-lib.so +rm -f deleted deleted-lib$LIBEXT tempfiles bt bt.err set VALGRIND_CMD="$OLD_VALGRIND_CMD" |
