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
@@ -406,14 +406,15 @@ if is_linux; then
def_val+=("off")
local_val+=("off")
else
prop+=("aclmode" "" \
"mountpoint" "")
def_val+=("discard" \
"")
local_val+=("groupmask" \
"$TESTDIR")
prop+=("aclmode" "")
def_val+=("discard")
local_val+=("groupmask")
fi
if is_illumos; then
prop+=("mountpoint" "")
def_val+=("")
local_val+=("$TESTDIR")
fi
#
# Global flag indicating whether the default record size had been