[Bug 281100] fusefs tests silently skip themselves
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 281100] fusefs tests silently skip themselves"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 27 Aug 2024 21:22:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281100 --- Comment #2 from Alan Somers <asomers@FreeBSD.org> --- The problem is in the googletest-ATF integration. If you do "kyua debug access:main", you'll see that each individual test case is indeed SKIPPED. But that information isn't communicated to ATF. And since multiple googletest test cases correspond to each ATF test case, it's not clear what we should do. What if some googletest test cases are skipped but others aren't? I'll dig into the code and see if we can skip the entire thing if fusefs isn't loaded. That should be easy, and it's the most common cause for these tests to get skipped. In the meantime, I'll look at the gtest-tap-listener. BTW, what I do when I want to run a single test case is: $ cd /usr/tests/sys/fs/fusefs $ sudo mkdir mountpoint $ sudo chmod 1777 mountpoint $ sudo chflags uchg mountpoint $ ./access -v --gtest_filter=Access.unlink_sticky_directory Note: Google Test filter = Access.unlink_sticky_directory [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from Access [ RUN ] Access.unlink_sticky_directory INIT ino= 0 ACCESS ino= 1 mask=0x1 LOOKUP ino= 1 some_file.txt UNLINK ino= 1 [ OK ] Access.unlink_sticky_directory (1 ms) [----------] 1 test from Access (1 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test suite ran. (1 ms total) [ PASSED ] 1 test. -- You are receiving this mail because: You are the assignee for the bug.