Skip to content

Commit 8ef97e8

Browse files
committed
cdh: add missing gate for luks2 test
The test case encrypt_an_empty_device_and_make_a_filesystem_on_it_using_luks2 should be gated behind the luks2 feature. Signed-off-by: Manuel Huber <manuelh@nvidia.com>
1 parent 54e65ee commit 8ef97e8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • confidential-data-hub/hub/src/storage/volume_type/blockdevice

confidential-data-hub/hub/src/storage/volume_type/blockdevice/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,7 @@ mod tests {
507507
assert!(device_path.len() > 4); // "/dev/" is 4 characters long
508508
}
509509

510+
#[cfg(feature = "luks2")]
510511
#[tokio::test]
511512
#[rstest]
512513
#[serial]

0 commit comments

Comments
 (0)