ZTS: Misc fixes for FreeBSD

* Check for mountd in is_shared to avoid timeout when not running
* Enhance robustness of some cleanup functions
* Simplify atime lookup
* Skip sharenfs validation for now
* Don't add mountpoint property to inheritance validation on FreeBSD

Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #10047
This commit is contained in:
Ryan Moeller
2020-02-25 19:23:27 -05:00
committed by GitHub
parent a33cb7e01a
commit 3a192f7d89
8 changed files with 35 additions and 26 deletions
+1 -1
View File
@@ -1328,7 +1328,7 @@ function is_shared_freebsd
{
typeset fs=$1
showmount -E | grep -qx $fs
pgrep -q mountd && showmount -E | grep -qx $fs
}
function is_shared_illumos