By renaming the test to nm.py, it can be called directly with:
python3 -m unittest nm
To make this work, we also need to move required test setup and teardown
code to setUpModule() and tearDownModule() accordingly, and move other
"script" code into the __name__ == '__main__' idiom.
This then allows easier debugging of failing tests by calling unittest
to run a specific test using the usual method. For example:
New changelog entries:
* SECURITY UPDATE: buffer overflow in dhcp6 client
- debian/patches/CVE-2018-15688.patch: make sure we have enough space
for the DHCP6 option header in
src/systemd/src/libsystemd-network/dhcp6-option.c.
- CVE-2018-15688
New changelog entries:
* Merge with Debian (LP: #1795704). Remaining changes:
- Use systemd-resolved instead of dnsmasq
- debian/control:
+ Depend on isc-dhcp-client instead of recommends
+ Recommend network-manager-pptp
+ Suggest avahi-autoipd for IPv4LL support
- debian/rules, debian/network-manager.postinst:
+ Don't restart NetworkManager on upgrade but recommend restarting
the computer
- debian/rules, debian/network-manager.postinst:
+ Don't install sysvinit scripts or migrate from sysvinit
- debian/network-manager.postinst:
+ Don't add the netdev group.
+ drop in an empty override file for NetworkManager to manage all
devices for upgrade from any version, as long as there is no
netplan configuration yet.
- debian/network-manager.maintscript
+ Remove /etc/dbus-1/system.d/nm-ofono.conf
- debian/default-wifi-powersave-on.conf, debian/rules:
+ Install a config file to enable WiFi powersave
- Enable build tests
- Add autopkgtests
- debian/source_network-manager.py, debian/network-manager.install,
debian/network-manager.links: Add apport hook
- Add network-manager-config-connectivity-ubuntu package
- NetworkManager.conf: disable MAC randomization feature. There is no
easy way for desktop users to disable this feature yet. And there are
reports that it doesn't work well with some systems.
- Update Vcs links to point to Ubuntu branch
- Add patches. See patch descriptions for more details:
+ Provide-access-to-some-of-NM-s-interfaces-to-whoopsie.patch
+ Update-dnsmasq-parameters.patch
+ Disable-general-with-expect.patch
+ libnm-Check-self-still-NMManager-or-not.patch
+ dns-manager-don-t-merge-split-DNS-search-domains.patch (but disabled)
+ Read-system-connections-from-run.patch
- debian/tests/urfkill-integration - don't stop/start network manager
* Revert "Add Conflicts to network-manager-dev against deprecated libraries"
This reverts commit b4acc5e03e2b821e1cccc69529bb70826c741942. We're still
building libnm-glib for now, so these packages have a use in Ubuntu.
New changelog entries:
* New upstream version 1.12.2
- Robustness fixes to connectivity checking (Closes: #903996)
* Rebase patches
* Update symbols file for libnm0
* Bump Standards-Version to 4.1.5
New changelog entries:
* Add Conflicts to network-manager-dev against deprecated libraries.
The deprecated libnm-glib-dev, libnm-glib-vpn-dev and libnm-util-dev
require header files from network-manager-dev which are no longer
provided in newer versions. Add Conflicts to network-manager-dev to
ensure that we don't get a broken combination of installed packages.
(Closes: #903029)
* Update description of network-manager-dev