[rtems-libbsd commit] Add nexus devices for default-init.
Sebastian Huber
sebastian.huber at embedded-brains.de
Wed May 4 11:02:12 UTC 2016
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.
testsuite/selectpollkqueue01/test_main.c:#include
<rtems/bsd/test/default-init.h>
testsuite/commands01/test_main.c:#include <rtems/bsd/test/default-init.h>
testsuite/mutex01/test_main.c:#include <rtems/bsd/test/default-init.h>
testsuite/loopback01/test_main.c:#include <rtems/bsd/test/default-init.h>
testsuite/unix01/test_main.c:#include <rtems/bsd/test/default-init.h>
testsuite/netshell01/test_main.c:#include <rtems/bsd/test/default-init.h>
testsuite/rwlock01/test_main.c:#include <rtems/bsd/test/default-init.h>
testsuite/smp01/test_main.c:#include <rtems/bsd/test/default-init.h>
testsuite/thread01/test_main.c:#include <rtems/bsd/test/default-init.h>
testsuite/condvar01/test_main.c:#include <rtems/bsd/test/default-init.h>
testsuite/init01/test_main.c:#include <rtems/bsd/test/default-init.h>
testsuite/sleep01/test_main.c:#include <rtems/bsd/test/default-init.h>
testsuite/syscalls01/test_main.c:#include <rtems/bsd/test/default-init.h>
All these tests work without real devices.
In contrast to
testsuite/arphole/test_main.c:#include
<rtems/bsd/test/default-network-init.h>
testsuite/ftpd01/test_main.c:#include
<rtems/bsd/test/default-network-init.h>
testsuite/telnetd01/test_main.c:#include
<rtems/bsd/test/default-network-init.h>
testsuite/ping01/test_main.c:#include
<rtems/bsd/test/default-network-init.h>
testsuite/foobarclient/test_main.c:#include
<rtems/bsd/test/default-network-init.h>
testsuite/lagg01/test_main.c:#include
<rtems/bsd/test/default-network-init.h>
testsuite/foobarserver/test_main.c:#include
<rtems/bsd/test/default-network-init.h>
testsuite/zerocopy01/test_main.c:#include
<rtems/bsd/test/default-network-init.h>
testsuite/vlan01/test_main.c:#include
<rtems/bsd/test/default-network-init.h>
testsuite/dhcpcd02/test_main.c:#include
<rtems/bsd/test/default-network-init.h>
testsuite/ppp01/test_main.c:#include <rtems/bsd/test/default-network-init.h>
testsuite/media01/test_main.c:#include
<rtems/bsd/test/default-network-init.h>
testsuite/dhcpcd01/test_main.c:#include
<rtems/bsd/test/default-network-init.h>
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list