Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libc/sys Drop trailing white space



details:   https://anonhg.NetBSD.org/src/rev/695c91545a7b
branches:  trunk
changeset: 319364:695c91545a7b
user:      kamil <kamil%NetBSD.org@localhost>
date:      Mon May 28 11:15:48 2018 +0000

description:
Drop trailing white space

diffstat:

 tests/lib/libc/sys/t_ptrace_wait.c |  28 ++++++++++++++--------------
 1 files changed, 14 insertions(+), 14 deletions(-)

diffs (114 lines):

diff -r c37f9ba1ccc7 -r 695c91545a7b tests/lib/libc/sys/t_ptrace_wait.c
--- a/tests/lib/libc/sys/t_ptrace_wait.c        Mon May 28 08:36:36 2018 +0000
+++ b/tests/lib/libc/sys/t_ptrace_wait.c        Mon May 28 11:15:48 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_ptrace_wait.c,v 1.56 2018/05/27 08:08:24 kamil Exp $ */
+/*     $NetBSD: t_ptrace_wait.c,v 1.57 2018/05/28 11:15:48 kamil Exp $ */
 
 /*-
  * Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_ptrace_wait.c,v 1.56 2018/05/27 08:08:24 kamil Exp $");
+__RCSID("$NetBSD: t_ptrace_wait.c,v 1.57 2018/05/28 11:15:48 kamil Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -1097,7 +1097,7 @@
                _exit(exitval_tracee);
        }
        PARENT_TO_CHILD("Message 1", parent_tracee, msg);
-       
+
        DPRINTF("Before calling PT_ATTACH for tracee %d\n", tracee);
        SYSCALL_REQUIRE(ptrace(PT_ATTACH, tracee, NULL, 0) != -1);
 
@@ -4224,7 +4224,7 @@
        DPRINTF("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);
 
@@ -4235,11 +4235,11 @@
 
        DPRINTF("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);
 
-       DPRINTF("Before resuming the child process where it left off and "                                                                                    
+       DPRINTF("Before resuming the child process where it left off and "
            "without signal to be sent\n");
        SYSCALL_REQUIRE(ptrace(PT_CONTINUE, child, (void *)1, 0) != -1);
 
@@ -4250,7 +4250,7 @@
        validate_status_exited(status, exitval);
 
        DPRINTF("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
@@ -4355,7 +4355,7 @@
        DPRINTF("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);
 
@@ -4366,11 +4366,11 @@
 
        DPRINTF("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);
 
-       DPRINTF("Before resuming the child process where it left off and "                                                                                    
+       DPRINTF("Before resuming the child process where it left off and "
            "without signal to be sent\n");
        SYSCALL_REQUIRE(ptrace(PT_CONTINUE, child, (void *)1, 0) != -1);
 
@@ -4381,7 +4381,7 @@
        validate_status_exited(status, exitval);
 
        DPRINTF("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
@@ -4471,11 +4471,11 @@
 
        DPRINTF("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);
 
-       DPRINTF("Before resuming the child process where it left off and "                                                                                    
+       DPRINTF("Before resuming the child process where it left off and "
            "without signal to be sent\n");
        SYSCALL_REQUIRE(ptrace(PT_CONTINUE, child, (void *)1, 0) != -1);
 
@@ -4486,7 +4486,7 @@
        validate_status_exited(status, exitval);
 
        DPRINTF("Before calling %s() for the child - expected no process\n",
-           TWAIT_FNAME);                                                                                                                                    
+           TWAIT_FNAME);
        TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
 }
 



Home | Main Index | Thread Index | Old Index