@@ -22,9 +22,8 @@ setup()
2222
2323teardown ()
2424{
25- :
26- ; finalize_pam_login_for_alice
27- ; test_specific_cleanup
25+ finalize_pam_login_for_alice
26+ test_specific_cleanup
2827}
2928
3029@test main {
@@ -70,7 +69,7 @@ SSL_OPTIONS = {
7069 'irods_encryption_num_hash_rounds': 16,
7170 'irods_encryption_algorithm': 'AES-256-CBC'
7271}
73- ses = irods.session.iRODSSession(user = 'alice', password = '$ALICES_ORIGINAL_PAM_PASSWORD ',
72+ ses = irods.session.iRODSSession(user = 'alice', password = '$ALICES_ORIGINAL_PAM_PASSWORD ',
7473 host = 'localhost', port = 1247, zone = 'tempZone',
7574 authentication_scheme = 'pam_password', **SSL_OPTIONS)
7675ses.collections.get(irods.helpers.home_collection(ses))
@@ -84,15 +83,15 @@ print ('env_auth_scheme=%s' % ses.pool.account._original_authentication_scheme)"
8483
8584 [ " $mc1 " == " $mc2 " ]
8685
87- # Set a new password for alice and use prc_write_irodsA script to alter with chosen
86+ # Set a new password for alice and use prc_write_irodsA script to alter with chosen
8887 # time-to-live setting of 2000 seconds.
8988 sudo chpasswd <<< " alice:$ALICES_NEW_PASSWORD"
9089 prc_write_irodsA.py -i - --ttl=1 pam_password <<< " $ALICES_NEW_PASSWORD"
9190
9291 # Check we're able to login with the new password and correspondingly new .irodsA
9392 OUTPUT=$( $PYTHON -c " $SCRIPT " )
9493 [[ $OUTPUT = " env_auth_scheme=pam" * ]]
95-
94+
9695 age_out_pam_password alice 2000
9796
9897 OUTPUT=$( $PYTHON -c " $SCRIPT " )
0 commit comments