Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libc/gen Fix comment/string typos.
details: https://anonhg.NetBSD.org/src/rev/8031c821ce93
branches: trunk
changeset: 764873:8031c821ce93
user: jruoho <jruoho%NetBSD.org@localhost>
date: Tue May 10 06:58:17 2011 +0000
description:
Fix comment/string typos.
diffstat:
tests/lib/libc/gen/t_alarm.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r ea8548dfbfa4 -r 8031c821ce93 tests/lib/libc/gen/t_alarm.c
--- a/tests/lib/libc/gen/t_alarm.c Tue May 10 06:55:27 2011 +0000
+++ b/tests/lib/libc/gen/t_alarm.c Tue May 10 06:58:17 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_alarm.c,v 1.1 2011/05/05 13:22:56 jruoho Exp $ */
+/* $NetBSD: t_alarm.c,v 1.2 2011/05/10 06:58:17 jruoho Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_alarm.c,v 1.1 2011/05/05 13:22:56 jruoho Exp $");
+__RCSID("$NetBSD: t_alarm.c,v 1.2 2011/05/10 06:58:17 jruoho Exp $");
#include <sys/wait.h>
@@ -52,7 +52,7 @@
ATF_TC(alarm_basic);
ATF_TC_HEAD(alarm_basic, tc)
{
- atf_tc_set_md_var(tc, "descr", "A basic test of alarm(2)");
+ atf_tc_set_md_var(tc, "descr", "A basic test of alarm(3)");
}
ATF_TC_BODY(alarm_basic, tc)
@@ -110,7 +110,7 @@
ATF_TC(alarm_previous);
ATF_TC_HEAD(alarm_previous, tc)
{
- atf_tc_set_md_var(tc, "descr", "Test return value from alarm(2)");
+ atf_tc_set_md_var(tc, "descr", "Test return value from alarm(3)");
}
ATF_TC_BODY(alarm_previous, tc)
@@ -118,7 +118,7 @@
unsigned int rv;
/*
- * See that alarm(2) returns the amount
+ * See that alarm(3) returns the amount
* left on the timer from the previous call.
*/
rv = alarm(60);
@@ -136,7 +136,7 @@
return;
fail:
- atf_tc_fail("invalid return value from alarm(2)");
+ atf_tc_fail("invalid return value from alarm(3)");
}
ATF_TP_ADD_TCS(tp)
Home |
Main Index |
Thread Index |
Old Index