]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
DRD: Added an output variant for test pth_detached3.
authorBart Van Assche <bvanassche@acm.org>
Wed, 9 Mar 2011 18:27:25 +0000 (18:27 +0000)
committerBart Van Assche <bvanassche@acm.org>
Wed, 9 Mar 2011 18:27:25 +0000 (18:27 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11615

drd/tests/Makefile.am
drd/tests/pth_detached3.stderr.exp1 [moved from drd/tests/pth_detached3.stderr.exp with 100% similarity]
drd/tests/pth_detached3.stderr.exp2 [new file with mode: 0644]

index b6f40f8ab8502cefef97410343862225112966dc..b936334ae12b7f9b1229364f9c30b3442c2212e4 100644 (file)
@@ -146,7 +146,8 @@ EXTRA_DIST =                                        \
        pth_detached2.stderr.exp                    \
        pth_detached2.stdout.exp                    \
        pth_detached2.vgtest                        \
-       pth_detached3.stderr.exp                    \
+       pth_detached3.stderr.exp1                   \
+       pth_detached3.stderr.exp2                   \
        pth_detached3.vgtest                        \
        pth_detached_sem.stderr.exp                 \
        pth_detached_sem.stdout.exp                 \
diff --git a/drd/tests/pth_detached3.stderr.exp2 b/drd/tests/pth_detached3.stderr.exp2
new file mode 100644 (file)
index 0000000..bdc5cf8
--- /dev/null
@@ -0,0 +1,14 @@
+
+pthread_detach(): invalid thread ID 0x........
+   at 0x........: vgDrd_set_joinable (drd_pthread_intercepts.c:?)
+   by 0x........: pthread_detach (drd_pthread_intercepts.c:?)
+   by 0x........: main (pth_detached3.c:21)
+
+pthread_detach(): invalid thread ID 0x........
+   at 0x........: vgDrd_set_joinable (drd_pthread_intercepts.c:?)
+   by 0x........: pthread_detach (drd_pthread_intercepts.c:?)
+   by 0x........: main (pth_detached3.c:24)
+
+Finished.
+
+ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)