Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests Reference PRs consistently.



details:   https://anonhg.NetBSD.org/src/rev/f440d63b5c14
branches:  trunk
changeset: 935123:f440d63b5c14
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Thu Jun 25 11:12:03 2020 +0000

description:
Reference PRs consistently.

diffstat:

 tests/lib/libc/sys/t_kevent.c                 |   6 +++---
 tests/lib/libm/t_hypot.c                      |   4 ++--
 tests/usr.bin/gdb/t_regress.sh                |  17 +++++++----------
 tests/usr.bin/vmstat/t_vmstat.sh              |   8 +++++---
 tests/usr.bin/xlint/lint1/d_long_double_int.c |   2 +-
 tests/usr.bin/xlint/lint1/t_integration.sh    |   4 ++--
 6 files changed, 20 insertions(+), 21 deletions(-)

diffs (152 lines):

diff -r 05e365bf59bb -r f440d63b5c14 tests/lib/libc/sys/t_kevent.c
--- a/tests/lib/libc/sys/t_kevent.c     Thu Jun 25 10:34:34 2020 +0000
+++ b/tests/lib/libc/sys/t_kevent.c     Thu Jun 25 11:12:03 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_kevent.c,v 1.7 2015/02/05 13:55:37 isaki Exp $ */
+/*     $NetBSD: t_kevent.c,v 1.8 2020/06/25 11:12:03 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_kevent.c,v 1.7 2015/02/05 13:55:37 isaki Exp $");
+__RCSID("$NetBSD: t_kevent.c,v 1.8 2020/06/25 11:12:03 jruoho Exp $");
 
 #include <sys/types.h>
 #include <sys/event.h>
@@ -85,7 +85,7 @@
 
        ATF_REQUIRE((kq = kqueue()) != -1);
 
-       // atf_tc_skip("crashes kernel (PR 46463)");
+       // atf_tc_skip("crashes kernel (PR kern/46463)");
 
        ATF_REQUIRE(socketpair(AF_LOCAL, SOCK_STREAM, 0, s) != -1);
        msg = malloc(CMSG_SPACE(sizeof(int)));
diff -r 05e365bf59bb -r f440d63b5c14 tests/lib/libm/t_hypot.c
--- a/tests/lib/libm/t_hypot.c  Thu Jun 25 10:34:34 2020 +0000
+++ b/tests/lib/libm/t_hypot.c  Thu Jun 25 11:12:03 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_hypot.c,v 1.1 2016/01/24 20:26:47 gson Exp $ */
+/* $NetBSD: t_hypot.c,v 1.2 2020/06/25 11:12:03 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -59,7 +59,7 @@
 ATF_TC(pr50698);
 ATF_TC_HEAD(pr50698, tc)
 {
-       atf_tc_set_md_var(tc, "descr", "Check for the bug of PR 50698");
+       atf_tc_set_md_var(tc, "descr", "Check for the bug of PR lib/50698");
 }
 
 ATF_TC_BODY(pr50698, tc)
diff -r 05e365bf59bb -r f440d63b5c14 tests/usr.bin/gdb/t_regress.sh
--- a/tests/usr.bin/gdb/t_regress.sh    Thu Jun 25 10:34:34 2020 +0000
+++ b/tests/usr.bin/gdb/t_regress.sh    Thu Jun 25 11:12:03 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_regress.sh,v 1.2 2019/06/07 19:05:15 gson Exp $
+# $NetBSD: t_regress.sh,v 1.3 2020/06/25 11:12:03 jruoho Exp $
 #
 # Copyright (c) 2016 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -27,11 +27,10 @@
 
 # Regression tests for some GDB PRs
 
-# PR 47430
-
 atf_test_case threads
 threads_head() {
-       atf_set "descr" "Test that gdb works with threaded programs"
+       atf_set "descr" "Test that gdb works with " \
+               "threaded programs (PR bin/47430)"
        atf_set "require.progs" "gdb"
 }
 threads_body() {
@@ -50,11 +49,10 @@
        atf_check -s exit:1 -o ignore -e ignore grep "Program received signal SIGTRAP" gdb.out
 }
 
-# PR 48250
-
 atf_test_case pie
 pie_head() {
-       atf_set "descr" "Test that gdb works with PIE executables"
+       atf_set "descr" "Test that gdb works with " \
+               "PIE executables (PR bin/48250)"
        atf_set "require.progs" "cc gdb"
 }
 pie_body() {
@@ -71,11 +69,10 @@
        atf_check -s exit:1 -o ignore -e ignore grep "annot access memory" gdb.out
 }
 
-# PR 54154
-
 atf_test_case xml
 xml_head() {
-       atf_set "descr" "Test that gdb was built with XML support"
+       atf_set "descr" "Test that gdb was built " \
+               "with XML support (PR bin/54154)"
        atf_set "require.progs" "gdb"
 }
 xml_body() {
diff -r 05e365bf59bb -r f440d63b5c14 tests/usr.bin/vmstat/t_vmstat.sh
--- a/tests/usr.bin/vmstat/t_vmstat.sh  Thu Jun 25 10:34:34 2020 +0000
+++ b/tests/usr.bin/vmstat/t_vmstat.sh  Thu Jun 25 11:12:03 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_vmstat.sh,v 1.1 2014/01/07 16:47:13 gson Exp $
+# $NetBSD: t_vmstat.sh,v 1.2 2020/06/25 11:12:03 jruoho Exp $
 #
 # Copyright (c) 2013 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -27,7 +27,8 @@
 
 atf_test_case default
 default_head() {
-       atf_set "descr" "Test that vmstat(1) returns success when run with no arguments"
+       atf_set "descr" "Test that vmstat(1) returns " \
+               "success when run with no arguments"
 }
 default_body() {
        atf_check -s exit:0 -o ignore -e empty vmstat
@@ -35,7 +36,8 @@
 
 atf_test_case opt_s
 opt_s_head() {
-       atf_set "descr" "Test that vmstat(1) returns success when run with -s (PR 44518)"
+       atf_set "descr" "Test that vmstat(1) returns " \
+               "success when run with -s (PR bin/44518)"
 }
 opt_s_body() {
        atf_check -s exit:0 -o ignore -e empty vmstat -s
diff -r 05e365bf59bb -r f440d63b5c14 tests/usr.bin/xlint/lint1/d_long_double_int.c
--- a/tests/usr.bin/xlint/lint1/d_long_double_int.c     Thu Jun 25 10:34:34 2020 +0000
+++ b/tests/usr.bin/xlint/lint1/d_long_double_int.c     Thu Jun 25 11:12:03 2020 +0000
@@ -1,4 +1,4 @@
-/* PR 39639: writing "long double" gave "long int" */
+/* PR bin/39639: writing "long double" gave "long int" */
 
 int
 fail(long double *a, long int *b)
diff -r 05e365bf59bb -r f440d63b5c14 tests/usr.bin/xlint/lint1/t_integration.sh
--- a/tests/usr.bin/xlint/lint1/t_integration.sh        Thu Jun 25 10:34:34 2020 +0000
+++ b/tests/usr.bin/xlint/lint1/t_integration.sh        Thu Jun 25 11:12:03 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_integration.sh,v 1.4 2014/04/21 19:10:41 christos Exp $
+# $NetBSD: t_integration.sh,v 1.5 2020/06/25 11:12:03 jruoho Exp $
 #
 # Copyright (c) 2008, 2010 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -122,7 +122,7 @@
     "array sizes"
 
 test_case check_invalid long_double_int "Checks for confusion of 'long" \
-    "double' with 'long int'; PR 39639"
+    "double' with 'long int'; PR bin/39639"
 
 atf_init_test_cases()
 {



Home | Main Index | Thread Index | Old Index