@@ -226,7 +226,7 @@ func TestCimReadWrite(t *testing.T) {
226226}
227227
228228func TestBlockCIMInvalidCimName (t * testing.T ) {
229- if ! IsBlockCimSupported () {
229+ if ! IsBlockCimWriteSupported () {
230230 t .Skip ("blockCIM not supported on this OS version" )
231231 }
232232
@@ -239,7 +239,7 @@ func TestBlockCIMInvalidCimName(t *testing.T) {
239239}
240240
241241func TestBlockCIMInvalidBlockPath (t * testing.T ) {
242- if ! IsBlockCimSupported () {
242+ if ! IsBlockCimWriteSupported () {
243243 t .Skip ("blockCIM not supported on this OS version" )
244244 }
245245
@@ -252,7 +252,7 @@ func TestBlockCIMInvalidBlockPath(t *testing.T) {
252252}
253253
254254func TestBlockCIMInvalidType (t * testing.T ) {
255- if ! IsBlockCimSupported () {
255+ if ! IsBlockCimWriteSupported () {
256256 t .Skip ("blockCIM not supported on this OS version" )
257257 }
258258
@@ -265,7 +265,7 @@ func TestBlockCIMInvalidType(t *testing.T) {
265265}
266266
267267func TestCIMMergeInvalidType (t * testing.T ) {
268- if ! IsBlockCimSupported () {
268+ if ! IsBlockCimMountSupported () {
269269 t .Skip ("blockCIM not supported on this OS version" )
270270 }
271271
@@ -282,7 +282,7 @@ func TestCIMMergeInvalidType(t *testing.T) {
282282}
283283
284284func TestCIMMergeInvalidSourceType (t * testing.T ) {
285- if ! IsBlockCimSupported () {
285+ if ! IsBlockCimMountSupported () {
286286 t .Skip ("blockCIM not supported on this OS version" )
287287 }
288288
@@ -313,7 +313,7 @@ func TestCIMMergeInvalidSourceType(t *testing.T) {
313313}
314314
315315func TestCIMMergeInvalidLength (t * testing.T ) {
316- if ! IsBlockCimSupported () {
316+ if ! IsBlockCimMountSupported () {
317317 t .Skip ("blockCIM not supported on this OS version" )
318318 }
319319
@@ -329,7 +329,7 @@ func TestCIMMergeInvalidLength(t *testing.T) {
329329}
330330
331331func TestBlockCIMEmpty (t * testing.T ) {
332- if ! IsBlockCimSupported () {
332+ if ! IsBlockCimWriteSupported () {
333333 t .Skip ("blockCIM not supported on this OS version" )
334334 }
335335
@@ -347,7 +347,7 @@ func TestBlockCIMEmpty(t *testing.T) {
347347}
348348
349349func TestBlockCIMSingleFileReadWrite (t * testing.T ) {
350- if ! IsBlockCimSupported () {
350+ if ! IsBlockCimMountSupported () {
351351 t .Skip ("blockCIM not supported on this OS version" )
352352 }
353353
@@ -411,7 +411,7 @@ func createBlockDevice(t *testing.T, dir string) string {
411411}
412412
413413func TestBlockCIMBlockDeviceReadWrite (t * testing.T ) {
414- if ! IsBlockCimSupported () {
414+ if ! IsBlockCimMountSupported () {
415415 t .Skip ("blockCIM not supported on this OS version" )
416416 }
417417
@@ -440,7 +440,7 @@ func TestBlockCIMBlockDeviceReadWrite(t *testing.T) {
440440}
441441
442442func TestMergedBlockCIMs (rootT * testing.T ) {
443- if ! IsBlockCimSupported () {
443+ if ! IsBlockCimMountSupported () {
444444 rootT .Skipf ("BlockCIM not supported" )
445445 }
446446
@@ -534,7 +534,7 @@ func TestMergedBlockCIMs(rootT *testing.T) {
534534}
535535
536536func TestTombstoneInMergedBlockCIMs (rootT * testing.T ) {
537- if ! IsBlockCimSupported () {
537+ if ! IsBlockCimMountSupported () {
538538 rootT .Skipf ("BlockCIM not supported" )
539539 }
540540
@@ -608,7 +608,7 @@ func TestTombstoneInMergedBlockCIMs(rootT *testing.T) {
608608}
609609
610610func TestMergedLinksInMergedBlockCIMs (rootT * testing.T ) {
611- if ! IsBlockCimSupported () {
611+ if ! IsBlockCimMountSupported () {
612612 rootT .Skipf ("BlockCIM not supported" )
613613 }
614614
@@ -688,7 +688,7 @@ func TestMergedLinksInMergedBlockCIMs(rootT *testing.T) {
688688}
689689
690690func TestVerifiedSingleFileBlockCIMMount (t * testing.T ) {
691- if ! IsVerifiedCimSupported () {
691+ if ! IsVerifiedCimMountSupported () {
692692 t .Skipf ("verified CIMs are not supported" )
693693 }
694694
@@ -733,7 +733,7 @@ func TestVerifiedSingleFileBlockCIMMount(t *testing.T) {
733733}
734734
735735func TestVerifiedSingleFileBlockCIMMountReadFailure (t * testing.T ) {
736- if ! IsVerifiedCimSupported () {
736+ if ! IsVerifiedCimMountSupported () {
737737 t .Skipf ("verified CIMs are not supported" )
738738 }
739739
@@ -777,7 +777,7 @@ func TestVerifiedSingleFileBlockCIMMountReadFailure(t *testing.T) {
777777}
778778
779779func TestMergedVerifiedBlockCIMs (rootT * testing.T ) {
780- if ! IsVerifiedCimSupported () {
780+ if ! IsVerifiedCimWriteSupported () {
781781 rootT .Skipf ("verified BlockCIMs are not supported" )
782782 }
783783
0 commit comments