blob: ef510adbffcb2fa0acbf9200f657e48b542a6797 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# $OpenBSD: Makefile,v 1.1 2018/01/28 13:38:00 otto Exp $
# This test is supposed to print a malloc error and create a core dump
REGRESS_TARGETS= t1
PROG= malloc_threaderr
LDADD+= -pthread
DPADD+= ${LIBPTHREAD}
.include <bsd.regress.mk>
t1: malloc_threaderr
${.OBJDIR}/malloc_threaderror 2>&1 | fgrep 'in free(): bogus pointer (double free?)'
|