Changeset 120caa6 in rtems-libbsd


Ignore:
Timestamp:
Dec 14, 2016, 1:10:18 PM (3 years ago)
Author:
Christian Mauderer <Christian.Mauderer@…>
Branches:
fd86c091b97759106da7355ce1dd81ebe030e285, f020f08430150c1656a0ad0a1de13699db9b980b
Children:
46d0378
Parents:
ecda181
git-author:
Christian Mauderer <Christian.Mauderer@…> (12/14/16 13:10:18)
git-committer:
Christian Mauderer <Christian.Mauderer@…> (01/17/17 11:51:30)
Message:

testsuite/commands01: Add wlanstats call.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuite/commands01/test_main.c

    recda181 r120caa6  
    259259
    260260static void
     261test_wlanstats(void)
     262{
     263        rtems_resource_snapshot snapshot;
     264        char *wlanstats[] = {
     265                "wlanstats",
     266                NULL
     267        };
     268
     269        /* Without a WLAN device, only the basic call can be tested. */
     270        rtems_bsd_command_wlanstats(ARGC(wlanstats), wlanstats);
     271        rtems_resource_snapshot_take(&snapshot);
     272        rtems_bsd_command_wlanstats(ARGC(wlanstats), wlanstats);
     273        assert(rtems_resource_snapshot_check(&snapshot));
     274}
     275
     276static void
    261277test_main(void)
    262278{
     
    267283        test_ping6();
    268284        test_netstat();
     285        test_wlanstats();
    269286
    270287        exit(0);
Note: See TracChangeset for help on using the changeset viewer.