aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2026-02-08 23:40:56 +0000
committerEnji Cooper <ngie@FreeBSD.org>2026-02-08 23:42:57 +0000
commitfa3519d068d95f87e773d27f96e9f1e18f70075a (patch)
tree774813631d506a18e296b314fa470db3526e8c53
parente4b1dc43289853910c791b3de470ff5f6fb6fe76 (diff)
t_ptrace_wait.c: clean up trailing whitespace
This is being done to aid with future potential updates of this file. MFC after: 1 week
-rw-r--r--contrib/netbsd-tests/kernel/t_ptrace_wait.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/contrib/netbsd-tests/kernel/t_ptrace_wait.c b/contrib/netbsd-tests/kernel/t_ptrace_wait.c
index 9d08c0e9648d..af364390dd25 100644
--- a/contrib/netbsd-tests/kernel/t_ptrace_wait.c
+++ b/contrib/netbsd-tests/kernel/t_ptrace_wait.c
@@ -524,7 +524,7 @@ ATF_TC_BODY(attach3, tc)
_exit(exitval_tracee);
}
PARENT_TO_CHILD("Message 1", parent_tracee, msg);
-
+
printf("Before calling PT_ATTACH for tracee %d\n", tracee);
ATF_REQUIRE(ptrace(PT_ATTACH, tracee, NULL, 0) != -1);
@@ -6109,7 +6109,7 @@ ATF_TC_BODY(signal6, tc)
printf("Before calling %s() for the forkee - expected exited\n",
TWAIT_FNAME);
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child2, &status, 0),
- child2);
+ child2);
validate_status_exited(status, exitval2);
@@ -6120,11 +6120,11 @@ ATF_TC_BODY(signal6, tc)
printf("Before calling %s() for the child - expected stopped "
"SIGCHLD\n", TWAIT_FNAME);
- TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
+ TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
validate_status_stopped(status, SIGCHLD);
- printf("Before resuming the child process where it left off and "
+ printf("Before resuming the child process where it left off and "
"without signal to be sent\n");
ATF_REQUIRE(ptrace(PT_CONTINUE, child, (void *)1, 0) != -1);
@@ -6135,7 +6135,7 @@ ATF_TC_BODY(signal6, tc)
validate_status_exited(status, exitval);
printf("Before calling %s() for the child - expected no process\n",
- TWAIT_FNAME);
+ TWAIT_FNAME);
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
}
#endif
@@ -6240,7 +6240,7 @@ ATF_TC_BODY(signal7, tc)
printf("Before calling %s() for the forkee - expected exited\n",
TWAIT_FNAME);
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child2, &status, 0),
- child2);
+ child2);
validate_status_exited(status, exitval2);
@@ -6251,11 +6251,11 @@ ATF_TC_BODY(signal7, tc)
printf("Before calling %s() for the child - expected stopped "
"SIGCHLD\n", TWAIT_FNAME);
- TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
+ TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
validate_status_stopped(status, SIGCHLD);
- printf("Before resuming the child process where it left off and "
+ printf("Before resuming the child process where it left off and "
"without signal to be sent\n");
ATF_REQUIRE(ptrace(PT_CONTINUE, child, (void *)1, 0) != -1);
@@ -6266,7 +6266,7 @@ ATF_TC_BODY(signal7, tc)
validate_status_exited(status, exitval);
printf("Before calling %s() for the child - expected no process\n",
- TWAIT_FNAME);
+ TWAIT_FNAME);
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
}
#endif
@@ -6356,11 +6356,11 @@ ATF_TC_BODY(signal8, tc)
printf("Before calling %s() for the child - expected stopped "
"SIGCHLD\n", TWAIT_FNAME);
- TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
+ TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
validate_status_stopped(status, SIGCHLD);
- printf("Before resuming the child process where it left off and "
+ printf("Before resuming the child process where it left off and "
"without signal to be sent\n");
ATF_REQUIRE(ptrace(PT_CONTINUE, child, (void *)1, 0) != -1);
@@ -6371,7 +6371,7 @@ ATF_TC_BODY(signal8, tc)
validate_status_exited(status, exitval);
printf("Before calling %s() for the child - expected no process\n",
- TWAIT_FNAME);
+ TWAIT_FNAME);
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
}