[rtems-libbsd commit] Add nexus devices for default-init.

Chris Johns chrisj at rtems.org
Wed May 4 11:40:01 UTC 2016


On 4/05/2016 9:02 PM, Sebastian Huber wrote:
> 
> 
> On 04/05/16 12:53, Chris Johns wrote:
>> On 4/05/2016 8:02 PM, Sebastian Huber wrote:
>>> >The <rtems/bsd/test/default-init.h> was intended for tests that are
>>> >device independent. For which purpose did you add it?
>> I do not understand what you mean by device independent and so what
>> commands you can run. For example ifconfig does nothing because there
>> are no devices.
>>
>> The patch can be reverted if it is wrong.
> 
> Its not necessarily wrong, but I fail to see a use case in the current
> test suite for it, e.g.

Sure this make sense. I am not sure what I should do. Do you want it
removed?

> testsuite/selectpollkqueue01/test_main.c:#include
> <rtems/bsd/test/default-init.h>
> testsuite/commands01/test_main.c:#include <rtems/bsd/test/default-init.h>

I saw the default-init as a base of default-network-init. Maybe if it
was called default-no-devices-init I would not have made the change.

Chris



More information about the devel mailing list