diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/HEXKEY b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/HEXKEY new file mode 100644 index 000000000000..95ed1c051a21 --- /dev/null +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/HEXKEY @@ -0,0 +1 @@ +000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/Makefile.am b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/Makefile.am index 06b4239a6d96..03c2916387ef 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/Makefile.am +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/Makefile.am @@ -11,4 +11,7 @@ dist_pkgdata_SCRIPTS = \ dist_pkgdata_DATA = \ zfs_load-key.cfg \ - zfs_load-key_common.kshlib + zfs_load-key_common.kshlib \ + PASSPHRASE \ + HEXKEY \ + RAWKEY diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/PASSPHRASE b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/PASSPHRASE new file mode 100644 index 000000000000..f3097ab13082 --- /dev/null +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/PASSPHRASE @@ -0,0 +1 @@ +password diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/RAWKEY b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/RAWKEY new file mode 100644 index 000000000000..f2d4cbf581ce --- /dev/null +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/RAWKEY @@ -0,0 +1 @@ +aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa \ No newline at end of file diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key.cfg b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key.cfg index 90d9f63f1dba..2f01aac7c0a2 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key.cfg +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key.cfg @@ -17,6 +17,9 @@ # Copyright (c) 2017 Datto, Inc. All rights reserved. # +# $PASSPHRASE, $HEXKEY, and $RAWKEY must be kept in sync +# with the corresponding files in this directory + export PASSPHRASE="password" export PASSPHRASE1="password1" export PASSPHRASE2="password2"