I'm writing a new formula for Homebrew for some software I maintain and as part of my testing I'd like to ensure that files are only added to the correct places on install and that all files are removed on uninstall.
What's the best way of going about comparing file structures before and after my test installs and uninstalls?