Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149816003
D15214.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
815 B
Referenced Files
None
Subscribers
None
D15214.diff
View Options
Index: head/tests/sys/kern/pdeathsig.c
===================================================================
--- head/tests/sys/kern/pdeathsig.c
+++ head/tests/sys/kern/pdeathsig.c
@@ -229,7 +229,6 @@
int rc;
int pipe_ca[2];
int pipe_db[2];
- int pipe_cd[2];
char buffer;
int status;
@@ -237,8 +236,6 @@
ATF_REQUIRE(rc == 0);
rc = pipe(pipe_db);
ATF_REQUIRE(rc == 0);
- rc = pipe(pipe_cd);
- ATF_REQUIRE(rc == 0);
rc = fork();
ATF_REQUIRE(rc != -1);
@@ -265,10 +262,6 @@
/* request a signal on parent death and register a handler */
rc = procctl(P_PID, 0, PROC_PDEATHSIG_CTL, &signum);
assert(rc == 0);
-
- /* tell D we are ready for it to attach */
- rc = write(pipe_cd[1], ".", 1);
- assert(rc == 1);
/* wait for B to die and signal us... */
signum = 0xdeadbeef;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 28, 7:44 AM (1 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30464395
Default Alt Text
D15214.diff (815 B)
Attached To
Mode
D15214: Remove redundant pipe from pdeathsig.c test.
Attached
Detach File
Event Timeline
Log In to Comment