Module Name:    src
Committed By:   jruoho
Date:           Sun Mar 18 07:14:08 UTC 2012

Modified Files:
        src/tests/include/sys: t_types.c
        src/tests/lib/libc/gen: t_dir.c t_humanize_number.c t_siginfo.c
        src/tests/lib/libc/termios: t_tcsetpgrp.c
        src/tests/lib/librt: t_sched.c
        src/tests/lib/libutil: t_parsedate.c

Log Message:
To be on the safe side, use the category/number notation when referring to
PRs (otherwise third-party sed-scripts might miss the references). Also
remove white-space.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/include/sys/t_types.c
cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libc/gen/t_dir.c
cvs rdiff -u -r1.7 -r1.8 src/tests/lib/libc/gen/t_humanize_number.c
cvs rdiff -u -r1.13 -r1.14 src/tests/lib/libc/gen/t_siginfo.c
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/termios/t_tcsetpgrp.c
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/librt/t_sched.c
cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libutil/t_parsedate.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/include/sys/t_types.c
diff -u src/tests/include/sys/t_types.c:1.3 src/tests/include/sys/t_types.c:1.4
--- src/tests/include/sys/t_types.c:1.3	Sat Mar 17 21:31:29 2012
+++ src/tests/include/sys/t_types.c	Sun Mar 18 07:14:08 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_types.c,v 1.3 2012/03/17 21:31:29 christos Exp $ */
+/*	$NetBSD: t_types.c,v 1.4 2012/03/18 07:14:08 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_types.c,v 1.3 2012/03/17 21:31:29 christos Exp $");
+__RCSID("$NetBSD: t_types.c,v 1.4 2012/03/18 07:14:08 jruoho Exp $");
 
 #include <sys/types.h>
 
@@ -77,7 +77,7 @@ ATF_TC(types_signed);
 ATF_TC_HEAD(types_signed, tc)
 {
 	atf_tc_set_md_var(tc, "descr", "Signed types(3)"
-	    " PR/44847");
+	    " (PR standards/44847)");
 }
 
 ATF_TC_BODY(types_signed, tc)
@@ -108,7 +108,8 @@ ATF_TC_BODY(types_signed, tc)
 ATF_TC(types_unsigned);
 ATF_TC_HEAD(types_unsigned, tc)
 {
-	atf_tc_set_md_var(tc, "descr", "Unsigned types(3)");
+	atf_tc_set_md_var(tc, "descr", "Unsigned types(3)"
+		" (PR standards/18067)");
 }
 
 ATF_TC_BODY(types_unsigned, tc)
@@ -122,19 +123,14 @@ ATF_TC_BODY(types_unsigned, tc)
 	fb = 0;
 	ff = 0;
 	ino = 0;
+	lim = 0;
 	size = 0;
 
 	ATF_CHECK((fb - 1) > 0);
 	ATF_CHECK((ff - 1) > 0);
 	ATF_CHECK((ino - 1) > 0);
-	ATF_CHECK((size - 1) > 0);
-
-	/*
-	 * Test also rlim_t; PR standards/18067.
-	 */
-	lim = 0;
-
 	ATF_CHECK((lim - 1) > 0);
+	ATF_CHECK((size - 1) > 0);
 }
 
 ATF_TP_ADD_TCS(tp)

Index: src/tests/lib/libc/gen/t_dir.c
diff -u src/tests/lib/libc/gen/t_dir.c:1.4 src/tests/lib/libc/gen/t_dir.c:1.5
--- src/tests/lib/libc/gen/t_dir.c:1.4	Thu Jul  7 09:49:59 2011
+++ src/tests/lib/libc/gen/t_dir.c	Sun Mar 18 07:14:08 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: t_dir.c,v 1.4 2011/07/07 09:49:59 jruoho Exp $ */
+/* $NetBSD: t_dir.c,v 1.5 2012/03/18 07:14:08 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -43,8 +43,8 @@ ATF_TC(seekdir_basic);
 ATF_TC_HEAD(seekdir_basic, tc)
 {
 
-	atf_tc_set_md_var(tc, "descr",
-	    "Check telldir(3) and seekdir(3) for correct behavior (PR/24324)");
+	atf_tc_set_md_var(tc, "descr", "Check telldir(3) and seekdir(3) "
+	    "for correct behavior (PR lib/24324)");
 }
 
 ATF_TC_BODY(seekdir_basic, tc)
@@ -116,7 +116,7 @@ ATF_TC_HEAD(telldir_leak, tc)
 {
 
 	atf_tc_set_md_var(tc, "descr",
-	    "Check telldir(3) for memory leakage (PR/24324)");
+	    "Check telldir(3) for memory leakage (PR lib/24324)");
 }
 
 ATF_TC_BODY(telldir_leak, tc)

Index: src/tests/lib/libc/gen/t_humanize_number.c
diff -u src/tests/lib/libc/gen/t_humanize_number.c:1.7 src/tests/lib/libc/gen/t_humanize_number.c:1.8
--- src/tests/lib/libc/gen/t_humanize_number.c:1.7	Sat Mar 17 20:06:46 2012
+++ src/tests/lib/libc/gen/t_humanize_number.c	Sun Mar 18 07:14:08 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_humanize_number.c,v 1.7 2012/03/17 20:06:46 christos Exp $	*/
+/*	$NetBSD: t_humanize_number.c,v 1.8 2012/03/18 07:14:08 jruoho Exp $	*/
 
 /*-
  * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
@@ -247,7 +247,8 @@ ATF_TC(humanize_number_big);
 ATF_TC_HEAD(humanize_number_big, tc)
 {
 
-	atf_tc_set_md_var(tc, "descr", "Test humanize big numbers (PR/44097)");
+	atf_tc_set_md_var(tc, "descr", "Test humanize "
+	    "big numbers (PR lib/44097)");
 }
 
 ATF_TC_BODY(humanize_number_big, tc)

Index: src/tests/lib/libc/gen/t_siginfo.c
diff -u src/tests/lib/libc/gen/t_siginfo.c:1.13 src/tests/lib/libc/gen/t_siginfo.c:1.14
--- src/tests/lib/libc/gen/t_siginfo.c:1.13	Sat Mar 17 20:10:08 2012
+++ src/tests/lib/libc/gen/t_siginfo.c	Sun Mar 18 07:14:08 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: t_siginfo.c,v 1.13 2012/03/17 20:10:08 christos Exp $ */
+/* $NetBSD: t_siginfo.c,v 1.14 2012/03/18 07:14:08 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -75,7 +75,7 @@ sig_debug(int signo, siginfo_t *info, uc
 		for (i = 0; i < __arraycount(ctx->uc_sigmask.__bits); i++)
 			printf("uc_sigmask[%d] 0x%x\n", i,
 			    ctx->uc_sigmask.__bits[i]);
-		printf("uc_stack %p %lu 0x%x\n", ctx->uc_stack.ss_sp, 
+		printf("uc_stack %p %lu 0x%x\n", ctx->uc_stack.ss_sp,
 		    (unsigned long)ctx->uc_stack.ss_size,
 		    ctx->uc_stack.ss_flags);
 		for (i = 0; i < __arraycount(ctx->uc_mcontext.__gregs); i++)
@@ -101,10 +101,10 @@ sigalrm_action(int signo, siginfo_t *inf
 ATF_TC(sigalarm);
 
 ATF_TC_HEAD(sigalarm, tc)
-{ 
+{
 
 	atf_tc_set_md_var(tc, "descr",
-	    "Checks that signal trampoline correctly calls SIGALRM handler"); 
+	    "Checks that signal trampoline correctly calls SIGALRM handler");
 }
 
 ATF_TC_BODY(sigalarm, tc)
@@ -118,7 +118,7 @@ ATF_TC_BODY(sigalarm, tc)
 		alarm(1);
 		sleep(1);
 	}
-	atf_tc_fail("SIGALRM handler wasn't called"); 
+	atf_tc_fail("SIGALRM handler wasn't called");
 }
 
 static void
@@ -187,7 +187,7 @@ ATF_TC_BODY(sigchild_normal, tc)
 {
 	sigset_t set;
 
-	sigchild_setup(); 
+	sigchild_setup();
 
 	status = 25;
 	code = CLD_EXITED;
@@ -214,10 +214,10 @@ ATF_TC_HEAD(sigchild_dump, tc)
 }
 
 ATF_TC_BODY(sigchild_dump, tc)
-{ 
+{
 	sigset_t set;
 
-	sigchild_setup(); 
+	sigchild_setup();
 
 	status = SIGSEGV;
 	code = CLD_DUMPED;
@@ -246,10 +246,10 @@ ATF_TC_HEAD(sigchild_kill, tc)
 }
 
 ATF_TC_BODY(sigchild_kill, tc)
-{ 
+{
 	sigset_t set;
 
-	sigchild_setup(); 
+	sigchild_setup();
 
 	status = SIGPIPE;
 	code = CLD_KILLED;
@@ -295,7 +295,7 @@ ATF_TC_HEAD(sigfpe_flt, tc)
 }
 
 ATF_TC_BODY(sigfpe_flt, tc)
-{ 
+{
 	struct sigaction sa;
 	double d = strtod("0", NULL);
 
@@ -345,11 +345,11 @@ ATF_TC_HEAD(sigfpe_int, tc)
 
 	atf_tc_set_md_var(tc, "descr",
 	    "Checks that signal trampoline correctly calls SIGFPE handler "
-	    "for integer div-by-zero PR/43655");
+	    "for integer div-by-zero (PR port-i386/43655)");
 }
 
 ATF_TC_BODY(sigfpe_int, tc)
-{ 
+{
 	struct sigaction sa;
 	long l = strtol("0", NULL, 10);
 

Index: src/tests/lib/libc/termios/t_tcsetpgrp.c
diff -u src/tests/lib/libc/termios/t_tcsetpgrp.c:1.2 src/tests/lib/libc/termios/t_tcsetpgrp.c:1.3
--- src/tests/lib/libc/termios/t_tcsetpgrp.c:1.2	Sat Mar 17 20:12:09 2012
+++ src/tests/lib/libc/termios/t_tcsetpgrp.c	Sun Mar 18 07:14:08 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_tcsetpgrp.c,v 1.2 2012/03/17 20:12:09 christos Exp $ */
+/*	$NetBSD: t_tcsetpgrp.c,v 1.3 2012/03/18 07:14:08 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_tcsetpgrp.c,v 1.2 2012/03/17 20:12:09 christos Exp $");
+__RCSID("$NetBSD: t_tcsetpgrp.c,v 1.3 2012/03/18 07:14:08 jruoho Exp $");
 
 #include <sys/wait.h>
 
@@ -42,7 +42,7 @@ ATF_TC(tcsetpgrp_err);
 ATF_TC_HEAD(tcsetpgrp_err, tc)
 {
 	atf_tc_set_md_var(tc, "descr", "Test errors from tcsetpgrp(3)"
-	    " PR/41673");
+	    " (PR lib/41673)");
 }
 
 ATF_TC_BODY(tcsetpgrp_err, tc)

Index: src/tests/lib/librt/t_sched.c
diff -u src/tests/lib/librt/t_sched.c:1.3 src/tests/lib/librt/t_sched.c:1.4
--- src/tests/lib/librt/t_sched.c:1.3	Sun Mar 18 02:14:16 2012
+++ src/tests/lib/librt/t_sched.c	Sun Mar 18 07:14:08 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: t_sched.c,v 1.3 2012/03/18 02:14:16 christos Exp $ */
+/* $NetBSD: t_sched.c,v 1.4 2012/03/18 07:14:08 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_sched.c,v 1.3 2012/03/18 02:14:16 christos Exp $");
+__RCSID("$NetBSD: t_sched.c,v 1.4 2012/03/18 07:14:08 jruoho Exp $");
 
 #include <sched.h>
 #include <limits.h>
@@ -189,7 +189,7 @@ ATF_TC(sched_rr_get_interval_1);
 ATF_TC_HEAD(sched_rr_get_interval_1, tc)
 {
 	atf_tc_set_md_var(tc, "descr", "Test sched_rr_get_interval(3), #1"
-	    " PR/44768");
+	    " (PR lib/44768)");
 	atf_tc_set_md_var(tc, "require.user", "root");
 }
 

Index: src/tests/lib/libutil/t_parsedate.c
diff -u src/tests/lib/libutil/t_parsedate.c:1.4 src/tests/lib/libutil/t_parsedate.c:1.5
--- src/tests/lib/libutil/t_parsedate.c:1.4	Sat Mar 17 21:33:13 2012
+++ src/tests/lib/libutil/t_parsedate.c	Sun Mar 18 07:14:08 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: t_parsedate.c,v 1.4 2012/03/17 21:33:13 christos Exp $ */
+/* $NetBSD: t_parsedate.c,v 1.5 2012/03/18 07:14:08 jruoho Exp $ */
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_parsedate.c,v 1.4 2012/03/17 21:33:13 christos Exp $");
+__RCSID("$NetBSD: t_parsedate.c,v 1.5 2012/03/18 07:14:08 jruoho Exp $");
 
 #include <atf-c.h>
 #include <util.h>
@@ -39,7 +39,7 @@ ATF_TC(dates);
 ATF_TC_HEAD(dates, tc)
 {
 	atf_tc_set_md_var(tc, "descr", "Test unambiguous dates"
-	    " PR/44255");
+	    " (PR lib/44255)");
 }
 
 ATF_TC_BODY(dates, tc)
@@ -61,7 +61,7 @@ ATF_TC(times);
 ATF_TC_HEAD(times, tc)
 {
 	atf_tc_set_md_var(tc, "descr", "Test times"
-	    " PR/44255");
+	    " (PR lib/44255)");
 }
 
 ATF_TC_BODY(times, tc)
@@ -78,7 +78,7 @@ ATF_TC(relative);
 ATF_TC_HEAD(relative, tc)
 {
 	atf_tc_set_md_var(tc, "descr", "Test relative items"
-	    " PR/44255");
+	    " (PR lib/44255)");
 }
 
 ATF_TC_BODY(relative, tc)

Reply via email to