changeset 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 59fbd6362c2b
children 96994236ec07
files packages/net/bsd_tcpip/current/ChangeLog packages/net/bsd_tcpip/current/tests/sysctl1.c
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/net/bsd_tcpip/current/ChangeLog
+++ b/packages/net/bsd_tcpip/current/ChangeLog
@@ -1,3 +1,7 @@
+2004-06-01  Sandeep Kumar  <sandeep@codito.com>
+
+	* tests/sysctl1.c: Call CYG_TEST_EXIT at the end of the test.
+
 2004-05-25  Gary Thomas  <gary@mlbassoc.com>
 
 	* src/sys/netinet/if_ether.c: Clean up some log messages - remove
--- 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