Skip to content

Commit

Permalink
Tests: Update expect as passwd password change message changed.
Browse files Browse the repository at this point in the history
Reviewed-by: Madhuri Upadhye <[email protected]>
  • Loading branch information
jakub-vavra-cz committed May 7, 2024
1 parent bc1a8e9 commit 31bd16f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/tests/multihost/ad/test_adparameters_ported.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,7 @@ def ssh_change_password(session_multihost, user, old_pass, new_pass):
tfile.write('send "$new\\r"\n')
tfile.write('expect "Retype new password: "\n')
tfile.write('send "$new\\r"\n')
tfile.write('expect "passwd: all authentication tokens'
' updated successfully."\n')
tfile.write('expect "updated successfully."\n')
tfile.flush()
session_multihost.client[0].transport.put_file(
tfile.name, '/tmp/ssh.exp')
Expand Down

0 comments on commit 31bd16f

Please sign in to comment.