summaryrefslogtreecommitdiffstats
path: root/tests/backtrace-child.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/backtrace-child.c')
-rw-r--r--tests/backtrace-child.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/backtrace-child.c b/tests/backtrace-child.c
index 9c6ba94f..8bfed478 100644
--- a/tests/backtrace-child.c
+++ b/tests/backtrace-child.c
@@ -164,7 +164,6 @@ stdarg (int f UNUSED, ...)
if (ptraceme)
{
long l = ptrace (PTRACE_TRACEME, 0, NULL, NULL);
- assert (errno == 0);
assert (l == 0);
}
#ifdef RAISE_JMP_PATCHING
@@ -236,7 +235,6 @@ main (int argc UNUSED, char **argv)
{
errno = 0;
long l = ptrace (PTRACE_TRACEME, 0, NULL, NULL);
- assert (errno == 0);
assert (l == 0);
}
if (gencore)