summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-11-17 13:46:34 +0000
committerJim Meyering <jim@meyering.net>2003-11-17 13:46:34 +0000
commite81926abd0071068caad93eff8d9751a3e0baffa (patch)
tree6dc1b249cc3e7bab59f731a1a4dd830697846f0c
parent5c2e6471fc8629e4898885b545f1742a43791da2 (diff)
downloadcoreutils-e81926abd0071068caad93eff8d9751a3e0baffa.tar.xz
*** empty log message ***
-rw-r--r--README-valgrind18
1 files changed, 17 insertions, 1 deletions
diff --git a/README-valgrind b/README-valgrind
index d50386431..9e2d54ca8 100644
--- a/README-valgrind
+++ b/README-valgrind
@@ -1,8 +1,24 @@
#! /bin/bash
+# Tue 2003-11-11 18:45:50 +0100
+# $ df > k
+# --6741-- FATAL: unhandled syscall: 268
+# Also 265 (__NR_clock_gettime), 271(__NR_utimes)
+# $ chgrp meyering .
+# ==6859== discard syms in /lib/libnss_compat-2.3.2.so due to munmap()
+# ==6859== discard syms in /lib/libnss_nis-2.3.2.so due to munmap()
+# ==6859== discard syms in /lib/libnsl-2.3.2.so due to munmap()
+# ==6859== discard syms in /lib/libnss_files-2.3.2.so due to munmap()
+
+
+
# Convert Makefile.am files:
# find tests -name Makefile.am | xargs grep -wl PATH|xargs perl -pi -e \
# 's,src(\$\(PATH_SEPARATOR\)\$\$PATH),src/vg$1,'
+#
+# Create this symlink for suppressions:
+# ln -s $PWD/.vg-suppressions /tmp/cu-vg
+
# Create src/vg:
@@ -13,7 +29,7 @@ srcdir=$pwd/src
path='export PATH='$srcdir':${PATH#*:}'
pre='#!/bin/sh\n'"$path"'\n'
n=9
-vg='exec /usr/bin/valgrind --quiet --num-callers='$n
+vg='exec /p/bin/valgrind --suppressions=/tmp/cu-vg --gen-suppressions=yes --leak-check=yes --quiet --num-callers='$n
cat <<EOF > src/vg/gen
for i in $coreutils; do
printf "$pre$vg \$i"' "\$@"\n' > \$i