<div dir="ltr"><div><div><div>Hi,<br></div><br></div>Attached is a patch that adds a first stab at a testsuite for the acpi utility, and a patch that fixes some of the issues with the ifconfig testsuite.<br><br>1. Changed the context again... I tried running the tests on aboriginal Linux, but it said there was no ip command, nor modprobe, which are two alternatives to getting the dummy interface running.  I didn't have much success with the static-tools.hdc, but it said it couldn't find toybox, but I tested the testsuite on Kali by invoking sudo make tests... hopefully will work on platforms other than Kali.<br><br>2. Corrected the pretext of the pointotpoint tests<br><div>3. Corrections to the pointopoint tests -- spelling, intent, etc.<br></div><div>After playing with ifconfig all weekend, I've come to the grand conclusion I can't find a way to get ifconfig pointopoint to set the POINTOPOINT flag... The POINTOPOINT flag appears to be treated as an immutable feature of the interface by ifconfig.<br><br>Other people in the past had the same issue. <a href="http://www.linuxmisc.com/2-linux-networking/ccf70d924f2c289c.htm">http://www.linuxmisc.com/2-linux-networking/ccf70d924f2c289c.htm</a> , <a href="http://www.linuxmisc.com/2-linux-networking/075ce6d1d544e8fb.htm">http://www.linuxmisc.com/2-linux-networking/075ce6d1d544e8fb.htm</a><br><br>ifconfig <interface> <localaddress> pointopoint <remoteaddress> can be used to configure ip address for tunnels (for Kali at least)...<br><br>So if ifconfig is changed to match the documentation, it will not match Kali, and thus probably not Debian.  Another option could be to clarify the documentation...<br> <br></div>Having gone through all that, and becoming slightly disappointed, I've rewritten the ifconfig tests to reflect the defacto standard, over the documentation, but the test can always be rewritten to reflect the documentation over the defacto standard... if that's desired.<br><br></div><div>ACPI tests: according to Isaac Dunham, the author of the acpi utility, there is no standard, so I compared the implemented features to their counterparts implemented in Kali. The results were very satisfactory -- I could use no options, reversed options, and got help when using illegal options.<br><br></div><div>What would make the developing the tests much easier is a prebuilt image with toybox configured with an allyesconfig (without nfs or nsenter, as they don't seem to build on Kali).<br></div><div><br></div><div>Hope this helps,<br></div><div>Cindy<br></div></div>