[Toybox] patch ifconfig testsuite

Yeongdeok Suh skyducks111 at gmail.com
Thu Mar 5 02:51:13 PST 2015


Hi, today, I fixed some parts of ifconfig.test.

At first, the testsuite uses *dummy0* interface,
but it is not activated with only *ifconfig*. so I added '*modprobe dummy*'
command.


And I have a question for how to fix it.
In case of *pointtopoint*, some references say 'pointopoint' and some
others say 'point-to-point'
As I just looking forwarded *toys/other/ifconfig.c* , I think *pointopoint*
is proper.

But if i test as below:

*ifconfig dummy0 pointopoint 127.0.0.2*


It says error.

*ioctl 8918: Cannot assign requested address*



And I test as below:

*ifconfig dummy0 127.0.0.2 pointopoint 127.0.0.3*


It doesn't show error, but I can't confirm the second address from ifconfig
or netstat.
How can I check it?


Lastly, I added testcase for setting *txqueuelen*.

Could you share your opinion?


YD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20150305/55bb4eac/attachment-0003.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-bugfix-ifconfig.testsuite.patch
Type: application/octet-stream
Size: 2913 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20150305/55bb4eac/attachment-0004.obj>


More information about the Toybox mailing list