git: 140aa8fff56c - stable/12 - fusefs: also debug INIT operations in the test suite

Alan Somers asomers at FreeBSD.org
Tue Jul 27 17:04:57 UTC 2021


The branch stable/12 has been updated by asomers:

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

commit 140aa8fff56c09e95f11320eec7a6b89093b8d00
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-27 17:03:49 +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 bbdd515f027d..da634b5f15cd 100644
--- a/tests/sys/fs/fusefs/mockfs.cc
+++ b/tests/sys/fs/fusefs/mockfs.cc
@@ -655,6 +655,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