forked from third-party-mirrors/zfs_autobackup
skip encryption if not supported
This commit is contained in:
parent
31be12c0bf
commit
fc0da9d380
@ -20,9 +20,15 @@ import time
|
||||
|
||||
class TestZfsEncryption(unittest2.TestCase):
|
||||
|
||||
|
||||
def setUp(self):
|
||||
prepare_zpools()
|
||||
|
||||
try:
|
||||
shelltest("zfs get encryption test_source1")
|
||||
except:
|
||||
self.skipTest("Encryption not supported on this ZFS version.")
|
||||
|
||||
def prepare_encrypted_dataset(self, key, path, unload_key=False):
|
||||
|
||||
# create encrypted source dataset
|
||||
|
Loading…
x
Reference in New Issue
Block a user