Re: [PATCH 10/50] tests: python3 require escaping

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2019-01-24 at 16:45 +0900, Masashi Honma wrote:
> Signed-off-by: Masashi Honma <masashi.honma@xxxxxxxxx>
> ---
>  tests/hwsim/test_ap_eap.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/hwsim/test_ap_eap.py b/tests/hwsim/test_ap_eap.py
> index 4d7fcb9b5..c190cf484 100644
> --- a/tests/hwsim/test_ap_eap.py
> +++ b/tests/hwsim/test_ap_eap.py
> @@ -1875,7 +1875,7 @@ def test_ap_wpa2_eap_peap_eap_mschapv2_domain(dev, apdev):
>      check_eap_capa(dev[0], "MSCHAPV2")
>      params = hostapd.wpa2_eap_params(ssid="test-wpa2-eap")
>      hapd = hostapd.add_ap(apdev[0], params)
> -    eap_connect(dev[0], hapd, "PEAP", "DOMAIN\user3",
> +    eap_connect(dev[0], hapd, "PEAP", "DOMAIN\\user3",
> 
It might be nicer to use a raw string?

r"DOMAIN\user3"

johannes


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux