]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Verify drd/tests/pth_detached stderr output instead of the stdout output.
authorBart Van Assche <bvanassche@acm.org>
Thu, 28 Jul 2011 18:06:44 +0000 (18:06 +0000)
committerBart Van Assche <bvanassche@acm.org>
Thu, 28 Jul 2011 18:06:44 +0000 (18:06 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11933

drd/tests/pth_detached.c
drd/tests/pth_detached.stderr.exp
drd/tests/pth_detached.stdout.exp
drd/tests/pth_detached.vgtest
drd/tests/pth_detached2.stderr.exp
drd/tests/pth_detached2.stdout.exp
drd/tests/pth_detached2.vgtest

index f3025c162eca1555bdc3aa4eb46a74ec3fb5fa59..f755a8c81a226cd070d00de71dfca0cbbf064308 100644 (file)
@@ -80,6 +80,7 @@ int main(int argc, char** argv)
   pthread_mutex_destroy(&s_mutex);
 
   write(STDOUT_FILENO, "\n", 1);
+  fprintf(stderr, "Done.\n");
 
   return 0;
 }
index d18786f80668a209115b4a13cf5e8afa8d9cd471..d16127fb58864e193433547434a63b906e78f2fa 100644 (file)
@@ -1,3 +1,4 @@
 
+Done.
 
 ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
index f3229c5b98768fac9af7b7ba56da9c071958d0f3..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1 +0,0 @@
-..
index f78b9ccba1064cb380dfabad11f5b7437bc63714..e91ae8e533b7eb79d68d3985f8e42a42e48c7ca7 100644 (file)
@@ -1,3 +1,4 @@
 prereq: ./supported_libpthread
 prog: pth_detached
 args: 1 1
+stdout_filter: ../../tests/filter_sink
index d18786f80668a209115b4a13cf5e8afa8d9cd471..d16127fb58864e193433547434a63b906e78f2fa 100644 (file)
@@ -1,3 +1,4 @@
 
+Done.
 
 ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
index 01bfb0256c3fed5394ddfec32512b3bfdb516cc5..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1 +0,0 @@
-....................
index bcd950a6daee3f23e0cf1dcdfc77df2e10f3b922..aec7a8346c39385dd7301770d617aaa7a5e0fe61 100644 (file)
@@ -2,3 +2,4 @@ prereq: ./supported_libpthread
 vgopts: --read-var-info=yes
 prog: pth_detached
 args: 10 10
+stdout_filter: ../../tests/filter_sink