File: memcheck.sh

package info (click to toggle)
kshutdown 6.0-2
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 1,992 kB
  • sloc: cpp: 8,349; sh: 477; makefile: 5
file content (13 lines) | stat: -rwxr-xr-x 228 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

BIN=./src/kshutdown
LOG=REPORT-VALGRIND.txt

echo "Testing ${BIN} -> ${LOG}"

valgrind \
	--leak-check=full \
	--log-file="${LOG}" \
	--show-leak-kinds=definite,possible \
	--tool=memcheck \
	"${BIN}" -style fusion