aboutsummaryrefslogtreecommitdiff
path: root/cddl
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2023-07-14 21:57:40 +0000
committerAlan Somers <asomers@FreeBSD.org>2023-07-14 21:57:40 +0000
commit2a0c0aea42092f89c2a5345991e6e3ce4cbef99a (patch)
tree64ab78b382e3e349668fa86fb6bd46744b80b638 /cddl
parent3f5788e0ed8e85567f651ad360596b8c330af5a9 (diff)
downloadsrc-2a0c0aea42092f89c2a5345991e6e3ce4cbef99a.tar.gz
src-2a0c0aea42092f89c2a5345991e6e3ce4cbef99a.zip
Fix zfsd unittests after 92642bba4db
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: 92642bba4db4bf1719758ac7233468bc09a0bd59 Sponsored by: Axcient
Diffstat (limited to 'cddl')
-rw-r--r--cddl/usr.sbin/zfsd/tests/zfsd_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/cddl/usr.sbin/zfsd/tests/zfsd_unittest.cc b/cddl/usr.sbin/zfsd/tests/zfsd_unittest.cc
index e2833170f9ac..882524c83efd 100644
--- a/cddl/usr.sbin/zfsd/tests/zfsd_unittest.cc
+++ b/cddl/usr.sbin/zfsd/tests/zfsd_unittest.cc
@@ -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 "
@@ -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());
@@ -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");
/*