Author: bart
Date: 2008-03-07 18:44:26 +0000 (Fri, 07 Mar 2008)
New Revision: 7583

Log:
Modified pth_detached test program such that each dot printed by the detached 
threads is now printed on a line by itself.

Modified:
   trunk/exp-drd/tests/pth_detached.c
   trunk/exp-drd/tests/pth_detached.stdout.exp
   trunk/exp-drd/tests/pth_detached2.stdout.exp


Modified: trunk/exp-drd/tests/pth_detached.c
===================================================================
--- trunk/exp-drd/tests/pth_detached.c  2008-03-07 17:34:22 UTC (rev 7582)
+++ trunk/exp-drd/tests/pth_detached.c  2008-03-07 18:44:26 UTC (rev 7583)
@@ -30,7 +30,7 @@
 
 static void* thread_func1(void* arg)
 {
-  write(STDOUT_FILENO, ".", 1);
+  write(STDOUT_FILENO, ".\n", 2);
   increment_finished_count();
   return 0;
 }
@@ -38,7 +38,7 @@
 static void* thread_func2(void* arg)
 {
   pthread_detach(pthread_self());
-  write(STDOUT_FILENO, ".", 1);
+  write(STDOUT_FILENO, ".\n", 2);
   increment_finished_count();
   return 0;
 }

Modified: trunk/exp-drd/tests/pth_detached.stdout.exp
===================================================================
--- trunk/exp-drd/tests/pth_detached.stdout.exp 2008-03-07 17:34:22 UTC (rev 
7582)
+++ trunk/exp-drd/tests/pth_detached.stdout.exp 2008-03-07 18:44:26 UTC (rev 
7583)
@@ -1 +1,3 @@
-..
+.
+.
+

Modified: trunk/exp-drd/tests/pth_detached2.stdout.exp
===================================================================
--- trunk/exp-drd/tests/pth_detached2.stdout.exp        2008-03-07 17:34:22 UTC 
(rev 7582)
+++ trunk/exp-drd/tests/pth_detached2.stdout.exp        2008-03-07 18:44:26 UTC 
(rev 7583)
@@ -1 +1,21 @@
-....................
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Valgrind-developers mailing list
Valgrind-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-developers

Reply via email to