git: fa3519d068d9 - main - t_ptrace_wait.c: clean up trailing whitespace
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 08 Feb 2026 23:44:50 UTC
The branch main has been updated by ngie:
URL: https://cgit.FreeBSD.org/src/commit/?id=fa3519d068d95f87e773d27f96e9f1e18f70075a
commit fa3519d068d95f87e773d27f96e9f1e18f70075a
Author: Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2026-02-08 23:40:56 +0000
Commit: Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2026-02-08 23:42:57 +0000
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
---
contrib/netbsd-tests/kernel/t_ptrace_wait.c | 24 ++++++++++++------------
1 file 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));
}