diff options
Diffstat (limited to 'README-valgrind')
-rw-r--r-- | README-valgrind | 8 |
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 |