tests/indent: remove redundant test list_head

The test cases are already in fmt_decl.c, in old_style_definition and
LIST_HEAD.
This commit is contained in:
rillig 2021-10-23 20:07:03 +00:00
parent 4271ee73ee
commit 206790fc56
5 changed files with 6 additions and 39 deletions

View File

@ -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

View File

@ -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

View File

@ -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;

View File

@ -1,17 +0,0 @@
/* $NetBSD: list_head.0,v 1.1 2019/04/04 15:27:35 kamil Exp $ */
/* $FreeBSD: head/usr.bin/indent/tests/list_head.0 313544 2017-02-10 09:31:39Z pstef $ */
/* See r309380 */
static int
do_execve(td, args, mac_p)
struct thread *td;
struct image_args *args;
struct mac *mac_p;
{
}
static LIST_HEAD(, alq) ald_active;
static int ald_shuttingdown = 0;
struct thread *ald_thread;

View File

@ -1,15 +0,0 @@
/* $NetBSD: list_head.0.stdout,v 1.1 2019/04/04 15:27:35 kamil Exp $ */
/* $FreeBSD: head/usr.bin/indent/tests/list_head.0.stdout 313544 2017-02-10 09:31:39Z pstef $ */
/* See r309380 */
static int
do_execve(td, args, mac_p)
struct thread *td;
struct image_args *args;
struct mac *mac_p;
{
}
static LIST_HEAD(, alq) ald_active;
static int ald_shuttingdown = 0;
struct thread *ald_thread;