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 Fix some typos.



details:   https://anonhg.NetBSD.org/src/rev/e988e367956f
branches:  trunk
changeset: 770978:e988e367956f
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Sat Nov 05 08:47:54 2011 +0000

description:
Fix some typos.

diffstat:

 tests/lib/libc/sys/t_msgctl.c |  10 +++++-----
 tests/lib/libc/sys/t_msgsnd.c |   6 +++---
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (72 lines):

diff -r aae1aaba81f5 -r e988e367956f tests/lib/libc/sys/t_msgctl.c
--- a/tests/lib/libc/sys/t_msgctl.c     Sat Nov 05 07:45:40 2011 +0000
+++ b/tests/lib/libc/sys/t_msgctl.c     Sat Nov 05 08:47:54 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_msgctl.c,v 1.1 2011/11/05 07:45:41 jruoho Exp $ */
+/* $NetBSD: t_msgctl.c,v 1.2 2011/11/05 08:47:54 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_msgctl.c,v 1.1 2011/11/05 07:45:41 jruoho Exp $");
+__RCSID("$NetBSD: t_msgctl.c,v 1.2 2011/11/05 08:47:54 jruoho Exp $");
 
 #include <sys/msg.h>
 #include <sys/stat.h>
@@ -278,7 +278,7 @@
                atf_tc_fail("root failed to change the GID of message queue");
 
        /*
-        * Note setting the qbytes to zero fails even as root.
+        * Note: setting the qbytes to zero fails even as root.
         */
        msgds.msg_qbytes = 1;
        msgds.msg_perm.gid = getgid();
@@ -297,7 +297,7 @@
 ATF_TC_WITH_CLEANUP(msgctl_time);
 ATF_TC_HEAD(msgctl_time, tc)
 {
-       atf_tc_set_md_var(tc, "descr", "Test msgctl(2) updates times");
+       atf_tc_set_md_var(tc, "descr", "Test that access times are updated");
 }
 
 ATF_TC_BODY(msgctl_time, tc)
@@ -332,7 +332,7 @@
                atf_tc_fail("time of last msgrcv(2) was not updated");
 
        /*
-        * Note that this is non-zero even after the memset(3).
+        * Note: this is non-zero even after the memset(3).
         */
        if (msgds.msg_stime == 0)
                atf_tc_fail("time of last msgsnd(2) was updated incorrectly");
diff -r aae1aaba81f5 -r e988e367956f tests/lib/libc/sys/t_msgsnd.c
--- a/tests/lib/libc/sys/t_msgsnd.c     Sat Nov 05 07:45:40 2011 +0000
+++ b/tests/lib/libc/sys/t_msgsnd.c     Sat Nov 05 08:47:54 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_msgsnd.c,v 1.1 2011/11/05 07:45:41 jruoho Exp $ */
+/* $NetBSD: t_msgsnd.c,v 1.2 2011/11/05 08:47:54 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_msgsnd.c,v 1.1 2011/11/05 07:45:41 jruoho Exp $");
+__RCSID("$NetBSD: t_msgsnd.c,v 1.2 2011/11/05 08:47:54 jruoho Exp $");
 
 #include <sys/msg.h>
 #include <sys/stat.h>
@@ -71,7 +71,7 @@
 ATF_TC_WITH_CLEANUP(msgsnd_block);
 ATF_TC_HEAD(msgsnd_block, tc)
 {
-       atf_tc_set_md_var(tc, "descr", "Test msgsnd(2) blocks");
+       atf_tc_set_md_var(tc, "descr", "Test that msgsnd(2) blocks");
        atf_tc_set_md_var(tc, "timeout", "10");
 }
 



Home | Main Index | Thread Index | Old Index