Module Name: src Committed By: jruoho Date: Sat Nov 5 08:47:54 UTC 2011
Modified Files: src/tests/lib/libc/sys: t_msgctl.c t_msgsnd.c Log Message: Fix some typos. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/sys/t_msgctl.c \ src/tests/lib/libc/sys/t_msgsnd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/lib/libc/sys/t_msgctl.c diff -u src/tests/lib/libc/sys/t_msgctl.c:1.1 src/tests/lib/libc/sys/t_msgctl.c:1.2 --- src/tests/lib/libc/sys/t_msgctl.c:1.1 Sat Nov 5 07:45:41 2011 +++ src/tests/lib/libc/sys/t_msgctl.c Sat Nov 5 08:47:54 2011 @@ -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_BODY(msgctl_set, tc) 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_CLEANUP(msgctl_set, tc) 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_BODY(msgctl_time, tc) 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"); Index: src/tests/lib/libc/sys/t_msgsnd.c diff -u src/tests/lib/libc/sys/t_msgsnd.c:1.1 src/tests/lib/libc/sys/t_msgsnd.c:1.2 --- src/tests/lib/libc/sys/t_msgsnd.c:1.1 Sat Nov 5 07:45:41 2011 +++ src/tests/lib/libc/sys/t_msgsnd.c Sat Nov 5 08:47:54 2011 @@ -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 @@ clean(void) 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"); }