pipe.stderr.exp pipe.vgtest \
pointer-trace.vgtest \
pointer-trace.stderr.exp \
- post-syscall.stderr.exp post-syscall.stdout.exp post-syscall.vgtest \
+ post-syscall.stderr.exp post-syscall.vgtest \
realloc1.stderr.exp realloc1.vgtest \
realloc2.stderr.exp realloc2.vgtest \
realloc3.stderr.exp realloc3.vgtest \
ret = nanosleep(&req, &rem);
if (ret != -1 || errno != EINTR) {
- printf("FAILED: expected nanosleep to be interrupted\n");
+ fprintf(stderr, "FAILED: expected nanosleep to be interrupted\n");
} else {
VALGRIND_CHECK_VALUE_IS_DEFINED(rem);
- printf("PASSED\n"); /* assuming CHECK_VALUE_IS_DEFINED doesn't print anything */
+ fprintf(stderr, "PASSED\n"); /* assuming CHECK_VALUE_IS_DEFINED doesn't print anything */
}
return 0;
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 0 bytes in 0 blocks.
-malloc/free: 0 allocs, 0 frees, 0 bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
+PASSED
+++ /dev/null
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 0 bytes in 0 blocks.
-malloc/free: 1 allocs, 1 frees, 24 bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
prog: post-syscall
+vgopts: -q