-# $OpenBSD: Makefile,v 1.1 2014/05/06 20:27:19 miod Exp $
+# $OpenBSD: Makefile,v 1.2 2014/05/06 20:40:26 miod Exp $
PROG= pq_test
CRYPTO= ${.CURDIR}/../../../../lib/libssl/src/crypto
LDADD= -lcrypto
DPADD= ${LIBCRYPTO}
+REGRESS_TARGETS= regress-pq_test
+
+regress-pq_test: ${PROG}
+ ${.OBJDIR}/pq_test | cmp -s ${.CURDIR}/expected.txt /dev/stdin
+
.include <bsd.regress.mk>
#include "pqueue.h"
+/* remember to change expected.txt if you change these values */
unsigned char prio1[8] = "supercal";
unsigned char prio2[8] = "ifragili";
unsigned char prio3[8] = "sticexpi";