Skip to content

wifi_hwsim: adjust the wait for a Wi-Fi password

Lubomir Rintel requested to merge lr/nmcli-wifi-agent-passwd into main

With [1], a regular secret agent will be used for nmcli --ask d wifi connect, instead oa special case. The password prompt will be a bit different.

[1] NetworkManager!1960 (merged)

Before:

  Password:

After:

  Password (802-11-wireless-security.psk):

Failed test log:

  before (last 100 chars): "s are required to access the wireless network 'wpa2-eap'.\r\nPassword (802-11-wireless-security.psk): "
  ...
  searcher: searcher_re:
      0: re.compile('Password:')

Merge request reports

Loading