Skip to content

Commit a35d266

Browse files
committed
test001 bats script passes
1 parent 2801d99 commit a35d266

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

irods/test/scripts/test001_pam_password_expiration.bats

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,10 @@ print ('env_auth_scheme=%s' % ses.pool.account._original_authentication_scheme)
4444
OUTPUT=$($PYTHON -c "$SCRIPT" 2>&1 >/dev/null || true)
4545
grep 'CAT_PASSWORD_EXPIRED' <<<"$OUTPUT"
4646

47-
# Test that the $SCRIPT, when run with proper settings, can successfully reset the password.
47+
# Test that the $SCRIPT, when run in legacy auth mode and with proper settings, can successfully reset the password.
4848

4949
OUTPUT=$($PYTHON -c "import irods.client_configuration as cfg
50+
cfg.legacy_auth.force_legacy_auth = True
5051
cfg.legacy_auth.pam.password_for_auto_renew = '$ALICES_PAM_PASSWORD'
5152
cfg.legacy_auth.pam.time_to_live_in_hours = 1
5253
cfg.legacy_auth.pam.store_password_to_environment = True

0 commit comments

Comments
 (0)