summaryrefslogtreecommitdiff
path: root/README-valgrind
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-08-15 11:05:50 +0000
committerJim Meyering <jim@meyering.net>2006-08-15 11:05:50 +0000
commit5ad9cd982cf8fe89240cd14e2c91e2ada6cdc5b6 (patch)
tree96182de288da0a1f065e470d24e80a054422cb2e /README-valgrind
parent1289d068090ca3a019ce55d8df73dd327884323c (diff)
downloadcoreutils-5ad9cd982cf8fe89240cd14e2c91e2ada6cdc5b6.tar.gz
do not set $path
Use --leak-check=full, not --quiet. Emit "--" after $vg.
Diffstat (limited to 'README-valgrind')
-rw-r--r--README-valgrind8
1 files changed, 4 insertions, 4 deletions
diff --git a/README-valgrind b/README-valgrind
index 2dff5d491..ae547df25 100644
--- a/README-valgrind
+++ b/README-valgrind
@@ -16,13 +16,13 @@ coreutils=$(echo 'spy:;@echo $(all_programs)' | (cd src; make -f Makefile -f - s
mkdir -p src/vg
pwd=`pwd`
srcdir=$pwd/src
-path='export PATH='$srcdir':${PATH#*:}'
-pre='#!/bin/sh\n'"$path"'\n'
+_path='export PATH='$srcdir':${PATH#*:}'
+pre='#!/bin/sh\n'"$_path"'\n'
n=15
-vg='exec /usr/bin/valgrind --suppressions=/tmp/cu-vg --log-fd=3 --leak-check=yes --track-fds=yes --quiet --num-callers='$n
+vg='exec /usr/bin/valgrind --suppressions=/tmp/cu-vg --log-fd=3 --leak-check=yes --track-fds=yes --leak-check=full --num-callers='$n
cat <<EOF > src/vg/gen
for i in $coreutils; do
- printf "$pre$vg \$i"' "\$@"\n' > \$i
+ printf "$pre$vg -- \$i"' "\$@"\n' > \$i
chmod a+x \$i
done
EOF