Link in NetBSD's unifdef(1) tests

Skip one, is it currently fails.
This commit is contained in:
Conrad Meyer 2019-11-18 04:03:11 +00:00
parent e9b30d7fcb
commit 470182bb6e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=354801
4 changed files with 23 additions and 0 deletions

View file

@ -51,6 +51,10 @@ lastline_body() {
printf '#ifdef foo\n#endif\n' >input
atf_check -o file:input unifdef -Ubar input
# Begin FreeBSD
atf_skip "our version doesn't have this behavior"
# Endif
# Without newline after cpp directive
printf '#ifdef foo\n#endif' >input
atf_check -o file:input unifdef -Ubar input

View file

@ -1064,6 +1064,8 @@
..
uuencode
..
unifdef
..
uniq
..
vmstat

View file

@ -1,8 +1,13 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
.include <src.opts.mk>
PROG= unifdef
SCRIPTS=unifdefall.sh
MLINKS= unifdef.1 unifdefall.1
HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.include <bsd.prog.mk>

View file

@ -0,0 +1,12 @@
# $FreeBSD$
PACKAGE= tests
NETBSD_ATF_TESTS_SH= basic_test
${PACKAGE}FILES+= d_basic.in
${PACKAGE}FILES+= d_basic.out
.include <netbsd-tests.test.mk>
.include <bsd.test.mk>