The Filesystem Tools project is a place where the Apple filesystem teams will be publishing some of the tools we use to test the filesystems that are part of macOS. These tools will be useful to developers who are writing new macOS filesystems, or testing macOS network filesystems against their servers.
kirk@… originally submitted this as ticket:16
https://github.com/kirussel/portablefstools/compare/master...kirussel/fsxtests
I generated some quick tests to make sure any changes to fsx.c don't have any unexpected results.