4 # By default the glibc __libc_message() writes to /dev/tty before calling
5 # the abort(). Exporting this macro makes it to use stderr instead.
7 # The main usage of the function are malloc assertions, so this makes us catch
8 # the malloc error message by catching stderr output.
10 export LIBC_FATAL_STDERR_
=1
12 LD_PRELOAD
=`pwd`/libtst_preload.so .
/test "$@"