test-data: Replace deprecated luks_open with cryptsetup_open.

The two calls are identical, so this simply avoids a deprecation
warning.
This commit is contained in:
Richard W.M. Jones
2021-05-27 17:21:16 +01:00
parent 5e98999b1f
commit 0b223a2877

View File

@@ -195,7 +195,7 @@ EOF
# Put LUKS on the second partition.
$g->luks_format ('/dev/sda2', 'FEDORA', 0);
$g->luks_open ('/dev/sda2', 'FEDORA', 'luks');
$g->cryptsetup_open ('/dev/sda2', 'FEDORA', 'luks');
init_lvm_root ('/dev/mapper/luks');
}