aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-07-07 08:10:15 +0000
committerUlrich Drepper <drepper@redhat.com>2000-07-07 08:10:15 +0000
commitd6a250638f9ffb6d6da5986d1107998bac9c0345 (patch)
tree2941860ba5344d94897fbdbc6c634af972004f8a
parentb97e3f1f007bbe9902b6aa7116bf81110c22fe20 (diff)
downloadglibc-d6a250638f9ffb6d6da5986d1107998bac9c0345.zip
glibc-d6a250638f9ffb6d6da5986d1107998bac9c0345.tar.gz
glibc-d6a250638f9ffb6d6da5986d1107998bac9c0345.tar.bz2
Update.
2000-07-07 Ulrich Drepper <drepper@redhat.com> * malloc/mtrace.pl: Exit with exit code 1 if any leak was detected. * malloc/tst-mtrace.sh: Run mtrace script.
-rw-r--r--ChangeLog6
-rwxr-xr-xmalloc/tst-mtrace.sh5
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f099838..0fa1537 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2000-07-07 Ulrich Drepper <drepper@redhat.com>
+
+ * malloc/mtrace.pl: Exit with exit code 1 if any leak was
+ detected.
+ * malloc/tst-mtrace.sh: Run mtrace script.
+
2000-07-07 Greg McGary <greg@mcgary.org>
* posix/regex.c (EXTEND_BUFFER): Compute increment once.
diff --git a/malloc/tst-mtrace.sh b/malloc/tst-mtrace.sh
index a5b61ec..c0c8458 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