File: t13

package info (click to toggle)
diod 1.0.24-5.2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 29,200 kB
  • sloc: ansic: 33,159; sh: 6,545; makefile: 363; perl: 80
file content (14 lines) | stat: -rwxr-xr-x 349 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash -e

TEST=$(basename $0 | cut -d- -f1)
./memcheck ./tnpsrv2 >$TEST.out 2>&1 || true
diff $TEST.exp $TEST.out >$TEST.diff || true
if test -s $TEST.diff; then
  echo "**********************" >&2
  echo "Memcheck failed. Diff:" >&2
  cat $TEST.diff                >&2
  echo "**********************" >&2
  : > $TEST.diff
  exit 77
fi
exit 0