aboutsummaryrefslogtreecommitdiff
path: root/malloc/tst-mtrace.sh
diff options
context:
space:
mode:
Diffstat (limited to 'malloc/tst-mtrace.sh')
-rwxr-xr-xmalloc/tst-mtrace.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/malloc/tst-mtrace.sh b/malloc/tst-mtrace.sh
index a5b61ec057..c0c8458e6d 100755
--- a/malloc/tst-mtrace.sh
+++ b/malloc/tst-mtrace.sh
@@ -27,4 +27,9 @@ LOCPATH=${common_objpfx}localedata GCONV_PATH=${common_objpfx}iconvdata \
${common_objpfx}elf/ld.so --library-path $common_objpfx \
${common_objpfx}malloc/tst-mtrace || status=1
+if test $status -eq 0 && test -f ${common_objpfx}malloc/mtrace; then
+ ${common_objpfx}malloc/mtrace ${common_objpfx}malloc/tst-mtrace \
+ ${common_objpfx}tst-mtrace.out || status=1
+fi
+
exit $status