Fix the zfsd unittest:

* TESTSDIR is supposed to be under cddl/usr.sbin, not cddl/sbin
* DevdCtl::EventBuffer no longer exists, so remove its forward
  declaration

MFC after:	3 days
X-MFC-With:	r305013
This commit is contained in:
Dimitry Andric 2016-08-29 18:55:06 +00:00
parent f6fea94e5d
commit 3323aadf23
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=305016
2 changed files with 1 additions and 2 deletions

View File

@ -4,7 +4,7 @@ SRCDIR=${.CURDIR}/../../../..
.include "${.CURDIR}/../Makefile.common"
.PATH: ${.CURDIR}/..
TESTSDIR?= ${TESTSBASE}/cddl/sbin/zfsd
TESTSDIR?= ${TESTSBASE}/cddl/usr.sbin/zfsd
PLAIN_TESTS_CXX= zfsd_unittest
SRCS.zfsd_unittest:= ${SRCS:Nzfsd_main.cc}

View File

@ -72,7 +72,6 @@ using std::string;
using std::stringstream;
using DevdCtl::Event;
using DevdCtl::EventBuffer;
using DevdCtl::EventFactory;
using DevdCtl::EventList;
using DevdCtl::Guid;