diff --git a/stratis_cli_cert.py b/stratis_cli_cert.py index 3c10f70..edf6b1f 100644 --- a/stratis_cli_cert.py +++ b/stratis_cli_cert.py @@ -457,6 +457,66 @@ def test_pool_create_no_overprovision(self): True, ) + @skip(_skip_condition(1)) + def test_pool_create_integrity_journal_size(self): + """ + Test creating a pool with an integrity journal size. + """ + pool_name = p_n() + self._unittest_command( + [ + _STRATIS_CLI, + "pool", + "create", + pool_name, + "--journal-size=64MiB", + StratisCliCertify.DISKS[0], + ], + 0, + True, + True, + ) + + @skip(_skip_condition(1)) + def test_pool_create_integrity_tag_spec(self): + """ + Test creating a pool with an integrity tag specification. + """ + pool_name = p_n() + self._unittest_command( + [ + _STRATIS_CLI, + "pool", + "create", + pool_name, + "--tag-spec=32b", + StratisCliCertify.DISKS[0], + ], + 0, + True, + True, + ) + + @skip(_skip_condition(1)) + def test_pool_create_integrity_no_preallocation(self): + """ + Test creating a pool with no integrity pre-allocation. + """ + pool_name = p_n() + self._unittest_command( + [ + _STRATIS_CLI, + "pool", + "create", + pool_name, + "--integrity=no", + StratisCliCertify.DISKS[0], + ], + 0, + True, + True, + ) + @skip(_skip_condition(1)) def test_pool_list_not_empty(self): """