mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 22:32:30 +01:00
Link in NetBSD's unifdef(1) tests
Skip one, is it currently fails.
This commit is contained in:
parent
e9b30d7fcb
commit
470182bb6e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=354801
@ -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
|
||||
|
@ -1064,6 +1064,8 @@
|
||||
..
|
||||
uuencode
|
||||
..
|
||||
unifdef
|
||||
..
|
||||
uniq
|
||||
..
|
||||
vmstat
|
||||
|
@ -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>
|
||||
|
12
usr.bin/unifdef/tests/Makefile
Normal file
12
usr.bin/unifdef/tests/Makefile
Normal 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>
|
Loading…
Reference in New Issue
Block a user