]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Modified pth_detached test program such that each dot printed by the detached threads...
authorBart Van Assche <bvanassche@acm.org>
Fri, 7 Mar 2008 18:44:26 +0000 (18:44 +0000)
committerBart Van Assche <bvanassche@acm.org>
Fri, 7 Mar 2008 18:44:26 +0000 (18:44 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7583

exp-drd/tests/pth_detached.c
exp-drd/tests/pth_detached.stdout.exp
exp-drd/tests/pth_detached2.stdout.exp

index 5f20a250ad37b8b29d7c6f9f7e7418c19b578846..f3461d7a668a8e159ad765c707e1098a889eb7c8 100644 (file)
@@ -30,7 +30,7 @@ int get_finished_count()
 
 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_func1(void* arg)
 static void* thread_func2(void* arg)
 {
   pthread_detach(pthread_self());
-  write(STDOUT_FILENO, ".", 1);
+  write(STDOUT_FILENO, ".\n", 2);
   increment_finished_count();
   return 0;
 }
index f3229c5b98768fac9af7b7ba56da9c071958d0f3..727e81ea6c9b3a27a19e05a534664ebc782bf99e 100644 (file)
@@ -1 +1,3 @@
-..
+.
+.
+
index 01bfb0256c3fed5394ddfec32512b3bfdb516cc5..b6c290864f5f06424ba62f116d92f79c1996eee8 100644 (file)
@@ -1 +1,21 @@
-....................
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+