Skip to content

Commit

Permalink
Fix zfsd unittests after 92642bb
Browse files Browse the repository at this point in the history
At the time we ensured that the more important functional tests were
working, but neglected to update the unit tests.

MFC after:	2 weeks
MFC with:	92642bb
Sponsored by:	Axcient
  • Loading branch information
asomers committed Jul 14, 2023
1 parent 3f5788e commit 2a0c0ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cddl/usr.sbin/zfsd/tests/zfsd_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ TEST_F(ZfsEventTest, ProcessPoolEventGetsCalled)
{
string evString("!system=ZFS "
"subsystem=ZFS "
"type=misc.fs.zfs.vdev_remove "
"type=sysevent.fs.zfs.vdev_remove "
"pool_name=foo "
"pool_guid=9756779504028057996 "
"vdev_guid=1631193447431603339 "
Expand Down Expand Up @@ -515,7 +515,7 @@ TEST_F(CaseFileTest, PoolDestroy)
"pool_guid=456 "
"subsystem=ZFS "
"timestamp=1348867914 "
"type=misc.fs.zfs.pool_destroy ");
"type=sysevent.fs.zfs.pool_destroy ");
m_event = Event::CreateEvent(*m_eventFactory, evString);
ZfsEvent *zfs_event = static_cast<ZfsEvent*>(m_event);
EXPECT_CALL(*m_caseFile, Close());
Expand Down Expand Up @@ -685,7 +685,7 @@ string ReEvaluateByGuidTest::s_evString(
"pool_name=foo "
"subsystem=ZFS "
"timestamp=1360620391 "
"type=misc.fs.zfs.config_sync");
"type=sysevent.fs.zfs.config_sync");


/*
Expand Down

0 comments on commit 2a0c0ae

Please sign in to comment.