diff --git a/testsuite/ltrace.minor/attach-process-dlopen.exp b/testsuite/ltrace.minor/attach-process-dlopen.exp index ac61347..afb8b75 100644 --- a/testsuite/ltrace.minor/attach-process-dlopen.exp +++ b/testsuite/ltrace.minor/attach-process-dlopen.exp @@ -29,7 +29,9 @@ spawn [ltraceCompile exe -ldl [ltraceSource c { #include #include #include + #include int main(int argc, char **argv) { + (void) prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY); assert(argc == 2); #define FN "libll.so" char buf[strlen(argv[1]) + 1 + sizeof FN];