git: fd9bab551b3f - stable/13 - fusefs: also debug INIT operations in the test suite

Alan Somers asomers at FreeBSD.org
Sun Jul 4 00:05:01 UTC 2021


The branch stable/13 has been updated by asomers:

URL: https://cgit.FreeBSD.org/src/commit/?id=fd9bab551b3f49afe9d879f69307596b34a012f0

commit fd9bab551b3f49afe9d879f69307596b34a012f0
Author:     Alan Somers <asomers at FreeBSD.org>
AuthorDate: 2021-06-17 22:06:43 +0000
Commit:     Alan Somers <asomers at FreeBSD.org>
CommitDate: 2021-07-04 00:03:54 +0000

    fusefs: also debug INIT operations in the test suite
    
    Reviewed by:    pfg
    
    (cherry picked from commit 77b040c993ba9d4844e36f1f5b057066a5b4015a)
---
 tests/sys/fs/fusefs/mockfs.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/sys/fs/fusefs/mockfs.cc b/tests/sys/fs/fusefs/mockfs.cc
index 7003472ca52b..c25501eb9785 100644
--- a/tests/sys/fs/fusefs/mockfs.cc
+++ b/tests/sys/fs/fusefs/mockfs.cc
@@ -702,6 +702,8 @@ void MockFS::init(uint32_t flags) {
 	std::unique_ptr<mockfs_buf_out> out(new mockfs_buf_out);
 
 	read_request(*in, buflen);
+	if (verbosity > 0)
+		debug_request(*in, buflen);
 	audit_request(*in, buflen);
 	ASSERT_EQ(FUSE_INIT, in->header.opcode);
 


More information about the dev-commits-src-all mailing list