mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 10:01:01 +03:00
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:
parent
ec64fdb93d
commit
ee7c30b350
@ -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" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user