# $OpenBSD: Makefile,v 1.2 2018/01/28 14:55:24 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 t1: malloc_threaderr ${.OBJDIR}/malloc_threaderr 2>&1 | fgrep 'in free(): bogus pointer (double free?)'