mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 01:51:29 +00:00
Merged r9741 (make post-syscall more portable) from the DARWIN branch.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9742
This commit is contained in:
parent
087255f973
commit
97e628e4be
@ -128,7 +128,7 @@ EXTRA_DIST = $(noinst_SCRIPTS) \
|
||||
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 \
|
||||
|
||||
@ -29,10 +29,10 @@ int main()
|
||||
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;
|
||||
|
||||
@ -1,7 +1 @@
|
||||
|
||||
|
||||
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
|
||||
|
||||
@ -1,7 +0,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: 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
|
||||
@ -1 +0,0 @@
|
||||
PASSED
|
||||
@ -1 +1,2 @@
|
||||
prog: post-syscall
|
||||
vgopts: -q
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user