samples loopback test failing

Joel Sherrill joel.sherrill at oarcorp.com
Wed Feb 21 23:40:23 UTC 2007


Hi,

Someone reported a while back that the loopback sample
failed.  I tracked it down to a task that did not
properly exit.  This patch fixed it.

Index: init.c
===================================================================
RCS file: /usr1/CVS/rtems/testsuites/samples/loopback/init.c,v
retrieving revision 1.3
diff -u -r1.3 init.c
--- init.c      10 May 2005 08:45:23 -0000      1.3
+++ init.c      21 Feb 2007 23:40:03 -0000
@@ -220,6 +220,7 @@
 {
     clientWorker(arg);
     printf("Client task terminating.\n");
+    rtems_task_delete( RTEMS_SELF );
 }

 /*




More information about the users mailing list