diff options
author | Ryan Moeller <[email protected]> | 2020-02-21 18:59:20 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-21 15:59:20 -0800 |
commit | b7dbbf6aa782b10e2645b3cf748406443ccd7052 (patch) | |
tree | eff59625df3e60c3da943c5a88ea28e32a276bce /tests/zfs-tests/include/commands.cfg | |
parent | f5f438194df6419573eb699f9ef0c8b0e1aeaf12 (diff) |
ZTS: Refactor is_shared, fix impl on FreeBSD
FreeBSD doesn't have a `share` command. It does have showmount.
Split the separate platform impls out of is_shared_impl.
Dispatch to the correct platform impl function from is_shared.
Eliminate the use of is_shared_impl from tests. is_shared works.
Reviewed-by: John Kennedy <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #10037
Diffstat (limited to 'tests/zfs-tests/include/commands.cfg')
-rw-r--r-- | tests/zfs-tests/include/commands.cfg | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/zfs-tests/include/commands.cfg b/tests/zfs-tests/include/commands.cfg index 65945212d..71b05dda0 100644 --- a/tests/zfs-tests/include/commands.cfg +++ b/tests/zfs-tests/include/commands.cfg @@ -127,6 +127,7 @@ export SYSTEM_FILES_FREEBSD='chflags rmextattr setextattr sha256 + showmount swapctl sysctl uncompress' |