Mercurial > flash_v2
diff packages/net/bsd_tcpip/current/tests/sysctl1.c @ 1664:797dbca338de
* tests/sysctl1.c: Call CYG_TEST_EXIT at the end of the test.
| author | asl |
|---|---|
| date | Wed, 02 Jun 2004 07:33:33 +0000 |
| parents | a571341dd6e5 |
| children |
line wrap: on
line diff
--- a/packages/net/bsd_tcpip/current/tests/sysctl1.c +++ b/packages/net/bsd_tcpip/current/tests/sysctl1.c @@ -174,7 +174,7 @@ net_test(cyg_addrword_t q) (((int *)&oldbuff)[1] == 3)), "sysctlnametooid1"); - /* This time with to small a results buffer */ + /* This time with too small a results buffer */ num_elem = 1; ret = sysctlnametomib(name2oid, mib,&num_elem); CYG_TEST_PASS_FAIL((ret == -1) && (errno = ENOMEM), @@ -194,6 +194,8 @@ net_test(cyg_addrword_t q) (((int *)&oldbuff)[0] == CTL_DEBUG) && (((int *)&oldbuff)[1] == 3)), "sysctlbyname"); + + CYG_TEST_EXIT ("sysctl1 exit"); } void
