From: Bart Van Assche Date: Fri, 7 Mar 2008 18:44:26 +0000 (+0000) Subject: Modified pth_detached test program such that each dot printed by the detached threads... X-Git-Tag: svn/VALGRIND_3_4_0~957 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7e749e311ae6a156622ff155a580bbfb3b6d9b32;p=thirdparty%2Fvalgrind.git Modified pth_detached test program such that each dot printed by the detached threads is now printed on a line by itself. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7583 --- diff --git a/exp-drd/tests/pth_detached.c b/exp-drd/tests/pth_detached.c index 5f20a250ad..f3461d7a66 100644 --- a/exp-drd/tests/pth_detached.c +++ b/exp-drd/tests/pth_detached.c @@ -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; } diff --git a/exp-drd/tests/pth_detached.stdout.exp b/exp-drd/tests/pth_detached.stdout.exp index f3229c5b98..727e81ea6c 100644 --- a/exp-drd/tests/pth_detached.stdout.exp +++ b/exp-drd/tests/pth_detached.stdout.exp @@ -1 +1,3 @@ -.. +. +. + diff --git a/exp-drd/tests/pth_detached2.stdout.exp b/exp-drd/tests/pth_detached2.stdout.exp index 01bfb0256c..b6c290864f 100644 --- a/exp-drd/tests/pth_detached2.stdout.exp +++ b/exp-drd/tests/pth_detached2.stdout.exp @@ -1 +1,21 @@ -.................... +. +. +. +. +. +. +. +. +. +. +. +. +. +. +. +. +. +. +. +. +