ANN: python-ethtool-0.8 released
by David Malcolm
https://fedorahosted.org/releases/p/y/python-ethtool/python-ethtool-0.8.t...
Dave Malcolm (13):
pifethtool: Show IPv6 address information when available
remove redundant material from setup.py
Fix buffer overflow in get_module()
Fix bad loop condition within get_devices()
Fix memory leaks in get_interfaces_info()
Eliminate "ret" within _ethtool_etherinfo_getter
Support devices with multiple IPv4 addresses
"char *devname" -> "const char *devname" throughout
add python-ethtool/netlink-address.c to MANIFEST
add a test suite
update URL within specfile to point to git.fedorahosted.org repo
bump version to 0.8
update "Source:" URL within specfile
David Sommerseth (2):
Package man pages in the RPM
Make pifconfig respect interface arguments from the command line
11 years, 2 months
python-ethtool now has a test suite
by David Malcolm
I've taken a test suite I wrote for python-ethtool within Red Hat (later
modified by Braňo Náter) and added it to the upstream git repository as:
http://git.fedorahosted.org/cgit/python-ethtool.git/commit/?id=40b4e12903...
It tries to exercise as much of the API as possible. It also runs
"ifconfig" and screenscrapes the output, to give it something to compare
the answers against.
This latter aspect of the test may be fragile, given that it depends on
ifconfig's output format. I originally developed it against the
ifconfig within net-tools-1.60-138.20120702git.fc17.x86_64; bnater then
modified it to also cope with the ifconfig within net-tools version <=
1.60-128; specifically against net-tools-1.60-110.el6_2.x86_64 on a RHEL
6 box.
If it breaks on a given box and you want to fix it, see
tests/parse_ifconfig.py
[Note to those maintaining RH's internal test suites: I took the two
python scripts from python-ethtool/Sanity/unit, specifically
92596c208fab03aac91110797d08f82af7340483]
Dave
11 years, 2 months