Page MenuHomeFreeBSD

D28889.id84532.diff
No OneTemporary

D28889.id84532.diff

Index: tests/sys/kern/ptrace_test.c
===================================================================
--- tests/sys/kern/ptrace_test.c
+++ tests/sys/kern/ptrace_test.c
@@ -3965,7 +3965,7 @@
if (fpid == 0) {
trace_me();
kill(getpid(), 0);
- close(3);
+ close(12345); /* Any fd number that should not exist */
exit(1);
}
@@ -4067,7 +4067,7 @@
ATF_REQUIRE(ptrace(PT_GET_SC_ARGS, wpid, (caddr_t)args,
sizeof(args)) != -1);
- REQUIRE_EQ_INT(args[0], 3);
+ REQUIRE_EQ_INT(args[0], 12345);
REQUIRE_EQ_INT(ptrace(PT_CONTINUE, fpid, (caddr_t)1, 0), 0);

File Metadata

Mime Type
text/plain
Expires
Fri, Sep 4, 6:10 AM (4 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38201863
Default Alt Text
D28889.id84532.diff (579 B)

Event Timeline