On Thu, Jul 22, 2021 at 09:28:30AM +1000, Dave Chinner wrote: > > I'm thinking that it is something relatively simple like this: > > fstests/tests/hooks > - directory containing library of hook scripts I'd suggest fstests/common/hooks instead, since the hook scripts aren't actually *tests* per so, but rather utility scripts, and common would be a better place for it, I think. > fstests/hooks/ > - directory containing symlinks to hook scripts This might be a good default, but it might be better if the location of the hook directory could be overridden via an environment variable. In some cases, instead of having run-time configuration inside the fstests directtory with .gitignore, it might be more convenient for it if were made available externally (for example, via a 9p file system in a case where tests are being run via KVM using a rootfs test image with qmeu's snapshot mode so the hook directory could be supplied from the host). - Ted