Module Name: src
Committed By: rillig
Date: Sat Oct 23 20:07:03 UTC 2021
Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/usr.bin/indent: Makefile fmt_decl.c
Removed Files:
src/tests/usr.bin/indent: list_head.0 list_head.0.stdout
Log Message:
tests/indent: remove redundant test list_head
The test cases are already in fmt_decl.c, in old_style_definition and
LIST_HEAD.
To generate a diff of this commit:
cvs rdiff -u -r1.1156 -r1.1157 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.28 -r1.29 src/tests/usr.bin/indent/Makefile
cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/indent/fmt_decl.c
cvs rdiff -u -r1.1 -r0 src/tests/usr.bin/indent/list_head.0 \
src/tests/usr.bin/indent/list_head.0.stdout
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/sets/lists/tests/mi
diff -u src/distrib/sets/lists/tests/mi:1.1156 src/distrib/sets/lists/tests/mi:1.1157
--- src/distrib/sets/lists/tests/mi:1.1156 Sat Oct 23 20:01:14 2021
+++ src/distrib/sets/lists/tests/mi Sat Oct 23 20:07:03 2021
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1156 2021/10/23 20:01:14 rillig Exp $
+# $NetBSD: mi,v 1.1157 2021/10/23 20:07:03 rillig Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@@ -4781,8 +4781,8 @@
./usr/tests/usr.bin/indent/lineno.0 tests-obsolete obsolete,atf
./usr/tests/usr.bin/indent/lineno.0.pro tests-obsolete obsolete,atf
./usr/tests/usr.bin/indent/lineno.0.stdout tests-obsolete obsolete,atf
-./usr/tests/usr.bin/indent/list_head.0 tests-usr.bin-tests compattestfile,atf
-./usr/tests/usr.bin/indent/list_head.0.stdout tests-usr.bin-tests compattestfile,atf
+./usr/tests/usr.bin/indent/list_head.0 tests-obsolete obsolete,atf
+./usr/tests/usr.bin/indent/list_head.0.stdout tests-obsolete obsolete,atf
./usr/tests/usr.bin/indent/ncs.0 tests-obsolete obsolete,atf
./usr/tests/usr.bin/indent/ncs.0.pro tests-obsolete obsolete,atf
./usr/tests/usr.bin/indent/ncs.0.stdout tests-obsolete obsolete,atf
Index: src/tests/usr.bin/indent/Makefile
diff -u src/tests/usr.bin/indent/Makefile:1.28 src/tests/usr.bin/indent/Makefile:1.29
--- src/tests/usr.bin/indent/Makefile:1.28 Sat Oct 23 20:01:14 2021
+++ src/tests/usr.bin/indent/Makefile Sat Oct 23 20:07:03 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2021/10/23 20:01:14 rillig Exp $
+# $NetBSD: Makefile,v 1.29 2021/10/23 20:07:03 rillig Exp $
.include <bsd.own.mk>
@@ -17,8 +17,6 @@ FILES+= label.c
FILES+= lex_ident.c
FILES+= lex_char.c
FILES+= lex_string.c
-FILES+= list_head.0
-FILES+= list_head.0.stdout
FILES+= offsetof.0
FILES+= offsetof.0.stdout
FILES+= opt--version.0
Index: src/tests/usr.bin/indent/fmt_decl.c
diff -u src/tests/usr.bin/indent/fmt_decl.c:1.2 src/tests/usr.bin/indent/fmt_decl.c:1.3
--- src/tests/usr.bin/indent/fmt_decl.c:1.2 Sat Oct 23 20:01:14 2021
+++ src/tests/usr.bin/indent/fmt_decl.c Sat Oct 23 20:07:03 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: fmt_decl.c,v 1.2 2021/10/23 20:01:14 rillig Exp $ */
+/* $NetBSD: fmt_decl.c,v 1.3 2021/10/23 20:07:03 rillig Exp $ */
/* $FreeBSD: head/usr.bin/indent/tests/declarations.0 334478 2018-06-01 09:41:15Z pstef $ */
/* See FreeBSD r303570 */
@@ -193,6 +193,7 @@ print_error(const char *fmt, ...)
#indent end
+/* See FreeBSD r309380 */
#indent input
static LIST_HEAD(, alq) ald_active;
static int ald_shutingdown = 0;