<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/tests/atf_python/sys/net/Makefile, branch release/14.4.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F14.4.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F14.4.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2024-04-29T14:11:07Z</updated>
<entry>
<title>tests: move atf_python/sys/ into the tests package</title>
<updated>2024-04-29T14:11:07Z</updated>
<author>
<name>Lexi Winter</name>
<email>lexi@le-Fay.ORG</email>
</author>
<published>2024-04-16T11:18:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=59e7c575c5449044164b3814d9c898de3e910ad9'/>
<id>urn:sha1:59e7c575c5449044164b3814d9c898de3e910ad9</id>
<content type='text'>
Reviewed by:	markj
MFC after:	1 week
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1174

(cherry picked from commit e1e636193db45630c7881246d25902e57c43d24e)
</content>
</entry>
<entry>
<title>tests: split netlink.py into multiple files to impove maintainability.</title>
<updated>2023-04-01T19:31:38Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2023-03-31T09:55:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fee65b7e21eeeb625dcaba8cf2b9e0cf5af83498'/>
<id>urn:sha1:fee65b7e21eeeb625dcaba8cf2b9e0cf5af83498</id>
<content type='text'>
This diff does not contain any functional changes.
Its sole purpose is splitting netlink.py into smaller chunks.
The new code simplifies the upcoming generic netlink support
introduction.

MFC after:	2 weeks
Differential Revision: https://reviews.freebsd.org/D39365
</content>
</entry>
<entry>
<title>netlink: improve interface handling</title>
<updated>2022-12-14T19:52:35Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2022-12-14T19:45:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=80f03e63d67ede8fedbed4bd6bf6b12ec2ab2cfb'/>
<id>urn:sha1:80f03e63d67ede8fedbed4bd6bf6b12ec2ab2cfb</id>
<content type='text'>
* Separate interface creation from interface modification code
* Support setting some interface attributes (ifdescr, mtu, up/down, promisc)
* Improve interaction with the cloners requiring to parse/write custom
 interface attributes
* Add bitmask-based way of checking if the attribute is present in the
message
* Don't use multipart RTM_GETLINK replies when searching for the
specific interface names
* Use ENODEV instead of ENOENT in case of failed RTM_GETLINK search
* Add python netlink test helpers
* Add some netlink interface tests

Differential Revision: https://reviews.freebsd.org/D37668
</content>
</entry>
<entry>
<title>testing: Add basic atf support to pytest.</title>
<updated>2022-06-25T19:25:15Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2022-06-25T19:01:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8eb2bee6c0f4957c6c1cea826e59cda4d18a2a64'/>
<id>urn:sha1:8eb2bee6c0f4957c6c1cea826e59cda4d18a2a64</id>
<content type='text'>
Implementation consists of the pytest plugin implementing ATF format and
a simple C++ wrapper, which reorders the provided arguments from ATF format
to the format understandable by pytest. Each test has this wrapper specified
after the shebang. When kyua executes the test, wrapper calls pytest, which
loads atf plugin, does the work and returns the result. Additionally, a
separate python "package", `/usr/tests/atf_python` has been added to collect
code that may be useful across different tests.

Current limitations:
* Opaque metadata passing via X-Name properties. Require some fixtures to write
* `-s srcdir` parameter passed by the runner is ignored.
* No `atf-c-api(3)` or similar - relying on pytest framework &amp; existing python libraries
* No support for `atf_tc_&lt;get|has&gt;_config_var()` &amp; `atf_tc_set_md_var()`.
 Can be probably implemented with env variables &amp; autoload fixtures

Differential Revision: https://reviews.freebsd.org/D31084
Reviewed by:	kp, ngie
</content>
</entry>
</feed>
