How do you test your osxfuse integration?

168 views
Skip to first unread message

Vink

unread,
Oct 22, 2015, 7:01:12 PM10/22/15
to OSXFUSE
I am using OSX fuse and feeding the fs events with the data from database. I want a reliable ways to test my user mode file system implementation, and automate the testing.

I found one at,
https://github.com/zfsonlinux/fstest.git

Though it does not support HFS and has not been updated for last five years.

Do you know of any test suite, opensource project that can be used to test my file system.

Thanks!

bill...@navimatics.com

unread,
Oct 22, 2015, 7:52:15 PM10/22/15
to OSXFUSE
I have a comprehensive test suite here:


I use this to test my file system on OSX, Linux and Windows. The Windows tests are very much a work in progress.

Bill

Vink

unread,
Oct 23, 2015, 2:05:30 PM10/23/15
to OSXFUSE
This looks comprehensive. Let me give it a try.

Just wondering, my calls to open file trigger a download of that file from database to local disk. This time may vary depending on network connection etc.
Does the fstorture or fsstress handle these delays, etc?

Thanks.

bill...@navimatics.com

unread,
Oct 23, 2015, 3:22:56 PM10/23/15
to OSXFUSE
Fsstress, fstorture, etc. are not aware of any delays. They issue system calls such as read, write, etc. and they block until they complete.

You must timely answer to FUSE requests though. Look at the daemon_timeout parameter in the OSXFUSE mount options. It may be of help: https://github.com/osxfuse/osxfuse/wiki/Mount-options

Bill


It is your file system that needs to properly handle such issues
Reply all
Reply to author
Forward
0 new messages