diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-04-19 12:44:06 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-04-19 12:44:06 +0000 |
commit | 6bc8aeb5c1d9ede074f1b35560ad91a4172e8f19 (patch) | |
tree | 3d4821a0ba484b9d91acab7808f9b587a4f90180 | |
parent | 50ccc25a8ec5313efeec8c32fe5767ad07150b26 (diff) |
Make the test pass when an obj directory exists.
-rw-r--r-- | regress/sys/net/pf_table/Makefile | 8 |
1 files 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; \ |