GNOME Bugzilla – Bug 702061
[MM 0.8] Cleanup old tests
Last modified: 2013-06-18 14:32:43 UTC
The tests/ directory contains several programs that are still using the old MM interface: * Python scripts: commands to operate on the DBus API directly. * mm-test, mm-test-pppd-plugin: tester using a custom pppd plugin to simulate connections. I'd vote for removing the python scripts, as the functionality was mainly to test the interfaces, and we already have that with 'mmcli'. As for the tester with the pppd plugin, not sure what to do, should we also remove it or update it to use the new MM interface? Also, the pppd plugin is also currently being installed by default, which I don't think we should. Maybe add a new configure switch to explicitly enable it? Package distributors shouldn't care about that pppd plugin.
I'm not sure it's worth keeping any of it. If we wanted to keep the functionality, the mm-test.py script should be converted to libmm-glib anyway, plus to be really useful it would need to run dhclient as well, and since you don't necessarily want to muck up the routing table or DNS (which the distro default dhclient script would likely do) you'd need to have some custom stuff like NM does. The script also doesn't serve as a user-runnable debug tool either. I would say just junk the entire directory and we can rethink what kind of tests we want there. mmcli replaces all the other python scripts, and most of mm-test.py too.
Done in git master now. This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.