pam_zfs_key: change test user name to conform to standards

The useradd(8) command on my system won't accept login names with
uppercase letters in them, so adjust for that.

Reviewed-by: Felix Dörre <felix@dogcraft.de>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Attila Fülöp <attila@fueloep.org>
Closes #12665
This commit is contained in:
Attila Fülöp 2021-10-21 05:44:36 +02:00 committed by Brian Behlendorf
parent ec64fdb93d
commit ee7c30b350
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@
. $STF_SUITE/include/libtest.shlib . $STF_SUITE/include/libtest.shlib
username="pamTestuser" username="pamtestuser"
runstatedir="${TESTDIR}_run" runstatedir="${TESTDIR}_run"
function keystatus { function keystatus {
log_must [ "$(zfs list -Ho keystatus "$TESTPOOL/pam/${username}")" == "$1" ] log_must [ "$(zfs list -Ho keystatus "$TESTPOOL/pam/${username}")" == "$1" ]