diff --git a/src/tests/multihost/ad/test_adparameters_ported.py b/src/tests/multihost/ad/test_adparameters_ported.py index 8e7a6c5b33b..ce70927c64f 100644 --- a/src/tests/multihost/ad/test_adparameters_ported.py +++ b/src/tests/multihost/ad/test_adparameters_ported.py @@ -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')