From e7418ebce4c571099dc6904f2f8057bb78d3a3da Mon Sep 17 00:00:00 2001 From: bluhm Date: Wed, 19 Apr 2017 12:44:05 +0000 Subject: [PATCH] Make the test pass when an obj directory exists. --- regress/sys/net/pf_table/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/regress/sys/net/pf_table/Makefile b/regress/sys/net/pf_table/Makefile index c6f2a5b65c9..43f282ffd61 100644 --- a/regress/sys/net/pf_table/Makefile +++ b/regress/sys/net/pf_table/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2017/01/20 04:54:44 claudio Exp $ +# $OpenBSD: Makefile,v 1.2 2017/04/19 12:44:05 bluhm Exp $ REGRESS_TARGETS= hit miss REGRESS_ROOT_TARGETS= hit miss @@ -9,7 +9,7 @@ REGRESS_ROOT_TARGETS= hit miss .SILENT: .BEGIN .END .INTERRUPT .BEGIN: - ${SUDO} pfctl -qt __regress_tbl -T add -f ./table.in + ${SUDO} pfctl -qt __regress_tbl -T add -f ${.CURDIR}/table.in .END: ${SUDO} pfctl -qt __regress_tbl -T kill @@ -21,7 +21,7 @@ REGRESS_ROOT_TARGETS= hit miss .endif hit: - for i in `cat ./table.hit`; do \ + for i in `cat ${.CURDIR}/table.hit`; do \ echo -n "hit $$i "; \ ${SUDO} pfctl -qt __regress_tbl -T test $$i || exit 1; \ echo success; \ @@ -29,7 +29,7 @@ hit: exit 0 miss: - for i in `cat ./table.miss`; do \ + for i in `cat ${.CURDIR}/table.miss`; do \ echo -n "miss $$i "; \ ${SUDO} pfctl -qt __regress_tbl -T test $$i && exit 1; \ echo success; \ -- 2.20.1