Re: [PATCH v2] test_ap_ciphers: unify IPv6 disabling

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

 



On Thu, May 07, 2020 at 12:47:52PM +0200, Johannes Berg wrote:
> Add a decorator that disables IPv6 and requires running
> under a VM, rather than open-coding that many times.

Thanks, applied.

> diff --git a/tests/hwsim/utils.py b/tests/hwsim/utils.py
> +    # we need the name set right for selecting / printing etc.
> +    wrapper.__name__ = fn.__name__
> +    # reparent to the right module for module filtering
> +    wrapper.__module__ = fn.__module__
> +    return wrapper

__doc__ needs to be copied as well for the short test case description.
 
-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
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