]> git.proxmox.com Git - mirror_zfs.git/commit - tests/zfs-tests/include/libtest.shlib
ZTS: Fix zfs_share_* test case failures
authorBrian Behlendorf <behlendorf1@llnl.gov>
Sat, 24 Feb 2018 18:07:12 +0000 (10:07 -0800)
committerGitHub <noreply@github.com>
Sat, 24 Feb 2018 18:07:12 +0000 (10:07 -0800)
commit2a0428f16b93b7d5160c277dd678e65ad27d996f
tree17141fb6e43e0d51af70011df44b8eb517cf26c8
parent41532e5a29a85de180f1bc6b6c605cedb44b0806
ZTS: Fix zfs_share_* test case failures

Prevent false positives when running the zfs_share_* test
cases due to leftover stale /var/lib/nfs/etab entries.  When
starting the test group re-synchronize the /var/lib/nfs/etab
file with /etc/exports.  At this point in the testing there
will be no additional `zfs share` entries to add.

Reviewed by: George Melikov <mail@gmelikov.ru>
Reviewed-by: loli10K <ezomori.nozomu@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #7226
tests/zfs-tests/include/libtest.shlib