Skip to content

Commit 9b185de

Browse files
nabijaczlewelitonyhutter
authored andcommitted
ZTS: cli_root/zfs_load-key: add separate key files
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Issue: openzfs#11956 Closes openzfs#11976
1 parent 4d4f0d1 commit 9b185de

File tree

5 files changed

+10
-1
lines changed

5 files changed

+10
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F

tests/zfs-tests/tests/functional/cli_root/zfs_load-key/Makefile.am

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,7 @@ dist_pkgdata_SCRIPTS = \
1111

1212
dist_pkgdata_DATA = \
1313
zfs_load-key.cfg \
14-
zfs_load-key_common.kshlib
14+
zfs_load-key_common.kshlib \
15+
PASSPHRASE \
16+
HEXKEY \
17+
RAWKEY
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
password
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
# Copyright (c) 2017 Datto, Inc. All rights reserved.
1818
#
1919

20+
# $PASSPHRASE, $HEXKEY, and $RAWKEY must be kept in sync
21+
# with the corresponding files in this directory
22+
2023
export PASSPHRASE="password"
2124
export PASSPHRASE1="password1"
2225
export PASSPHRASE2="password2"

0 commit comments

Comments
 (0)