#! /bin/sh # This test deliberately leaks memory, and checks if we get output on # stderr, to see if the leak checker sees something. # If it does, we PASS the test. # If it does not, we SKIP the test. # (C) Copyright 2005 Matthias Andree. GNU GPL v2 . ${srcdir:=.}/t.frame $VAL ./leakmem 2>&1 | egrep -v '^got |^ *(Electric Fence.*)?$' > "$TMPDIR"/out || exit 77