Module Name: src
Committed By: jruoho
Date: Fri Nov 11 05:06:01 UTC 2011
Modified Files:
src/tests/lib/libc/sys: t_msgctl.c t_msgrcv.c
Log Message:
Fix typo.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/sys/t_msgctl.c
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/sys/t_msgrcv.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.2 src/tests/lib/libc/sys/t_msgctl.c:1.3
--- src/tests/lib/libc/sys/t_msgctl.c:1.2 Sat Nov 5 08:47:54 2011
+++ src/tests/lib/libc/sys/t_msgctl.c Fri Nov 11 05:06:01 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: t_msgctl.c,v 1.2 2011/11/05 08:47:54 jruoho Exp $ */
+/* $NetBSD: t_msgctl.c,v 1.3 2011/11/11 05:06:01 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.2 2011/11/05 08:47:54 jruoho Exp $");
+__RCSID("$NetBSD: t_msgctl.c,v 1.3 2011/11/11 05:06:01 jruoho Exp $");
#include <sys/msg.h>
#include <sys/stat.h>
@@ -105,7 +105,7 @@ ATF_TC_CLEANUP(msgctl_err, tc)
ATF_TC_WITH_CLEANUP(msgctl_perm);
ATF_TC_HEAD(msgctl_perm, tc)
{
- atf_tc_set_md_var(tc, "descr", "Test permissiosn with msgctl(2)");
+ atf_tc_set_md_var(tc, "descr", "Test permissions with msgctl(2)");
atf_tc_set_md_var(tc, "require.user", "root");
}
Index: src/tests/lib/libc/sys/t_msgrcv.c
diff -u src/tests/lib/libc/sys/t_msgrcv.c:1.1 src/tests/lib/libc/sys/t_msgrcv.c:1.2
--- src/tests/lib/libc/sys/t_msgrcv.c:1.1 Sat Nov 5 07:45:41 2011
+++ src/tests/lib/libc/sys/t_msgrcv.c Fri Nov 11 05:06:01 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: t_msgrcv.c,v 1.1 2011/11/05 07:45:41 jruoho Exp $ */
+/* $NetBSD: t_msgrcv.c,v 1.2 2011/11/11 05:06:01 jruoho Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_msgrcv.c,v 1.1 2011/11/05 07:45:41 jruoho Exp $");
+__RCSID("$NetBSD: t_msgrcv.c,v 1.2 2011/11/11 05:06:01 jruoho Exp $");
#include <sys/msg.h>
#include <sys/stat.h>
@@ -127,7 +127,7 @@ ATF_TC_BODY(msgrcv_block, tc)
/*
* Below msgsnd(2) should unblock the child,
* and hence kill(2) should fail with ESRCH.
- */
+ */
(void)sleep(1);
(void)msgsnd(id, &msg, sizeof(struct msg), IPC_NOWAIT);
(void)sleep(1);