diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2000-07-01 00:31:02 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2000-07-01 00:31:02 +0000 |
commit | 926311402ce3f0155e6e010bb7fbaea3e42e60e5 (patch) | |
tree | 6f2820eac5dddbe9446c1e9595ef4a9283084ee4 | |
parent | 4223557f5fb36d1d42809dfa9835041b7450b90c (diff) |
Import NetBSD's m4 regression suite (we pass, btw)
-rw-r--r-- | regress/usr.bin/Makefile | 6 | ||||
-rw-r--r-- | regress/usr.bin/m4/Makefile | 20 | ||||
-rw-r--r-- | regress/usr.bin/m4/ff_after_dnl.m4.uu | 10 | ||||
-rw-r--r-- | regress/usr.bin/m4/ff_after_dnl.out | 2 | ||||
-rw-r--r-- | regress/usr.bin/m4/m4wrap.m4 | 6 | ||||
-rw-r--r-- | regress/usr.bin/m4/m4wrap.out | 2 |
6 files changed, 46 insertions, 0 deletions
diff --git a/regress/usr.bin/Makefile b/regress/usr.bin/Makefile new file mode 100644 index 00000000000..f60b3992300 --- /dev/null +++ b/regress/usr.bin/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.1 2000/07/01 00:31:01 espie Exp $ +# $NetBSD: Makefile,v 1.1 1997/12/30 23:27:11 cgd Exp $ + +SUBDIR+= m4 + +.include <bsd.subdir.mk> diff --git a/regress/usr.bin/m4/Makefile b/regress/usr.bin/m4/Makefile new file mode 100644 index 00000000000..345c5ed3def --- /dev/null +++ b/regress/usr.bin/m4/Makefile @@ -0,0 +1,20 @@ +# $OpenBSD: Makefile,v 1.1 2000/07/01 00:31:01 espie Exp $ +# $NetBSD: Makefile,v 1.2 1999/02/13 02:54:33 lukem Exp $ + +NOMAN= +NOPROG= + +CLEANFILES+= ff_after_dnl.m4 + +regress: test-ff_after_dnl test-m4wrap + +test-ff_after_dnl: ff_after_dnl.m4 + m4 ff_after_dnl.m4 | diff - ${.CURDIR}/ff_after_dnl.out + +ff_after_dnl.m4: ff_after_dnl.m4.uu + uudecode ${.CURDIR}/ff_after_dnl.m4.uu + +test-m4wrap: + m4 ${.CURDIR}/m4wrap.m4 | diff - ${.CURDIR}/m4wrap.out + +.include <bsd.prog.mk> diff --git a/regress/usr.bin/m4/ff_after_dnl.m4.uu b/regress/usr.bin/m4/ff_after_dnl.m4.uu new file mode 100644 index 00000000000..cc1ed093acc --- /dev/null +++ b/regress/usr.bin/m4/ff_after_dnl.m4.uu @@ -0,0 +1,10 @@ +$OpenBSD: ff_after_dnl.m4.uu,v 1.1.1.1 2000/07/01 00:31:01 espie Exp $ +$NetBSD: ff_after_dnl.m4.uu,v 1.1 1997/12/30 23:30:53 cgd Exp $ + +begin 644 ff_after_dnl.m4 +M"0E42$E3(%-(3U5,1"!32$]7(%50("A,24Y%(#$I"F1N;`D)5$A)4R!32$]5 +M3$0@3D]4(%-(3U<@55`@*$Q)3D4@,BD*9&YL_PD)5$A)4R!32$]53$0@3D]4 +M(%-(3U<@55`@*$Q)3D4@,RD*9&YL"?\)5$A)4R!32$]53$0@3D]4(%-(3U<@ +K55`@*$Q)3D4@-"D*"0E42$E3(%-(3U5,1"!32$]7(%50("A,24Y%(#4I"E<@ +` +end diff --git a/regress/usr.bin/m4/ff_after_dnl.out b/regress/usr.bin/m4/ff_after_dnl.out new file mode 100644 index 00000000000..8e51f1ea05c --- /dev/null +++ b/regress/usr.bin/m4/ff_after_dnl.out @@ -0,0 +1,2 @@ + THIS SHOULD SHOW UP (LINE 1) + THIS SHOULD SHOW UP (LINE 5) diff --git a/regress/usr.bin/m4/m4wrap.m4 b/regress/usr.bin/m4/m4wrap.m4 new file mode 100644 index 00000000000..7e8237f1481 --- /dev/null +++ b/regress/usr.bin/m4/m4wrap.m4 @@ -0,0 +1,6 @@ +dnl $OpenBSD: m4wrap.m4,v 1.1.1.1 2000/07/01 00:31:01 espie Exp $ +dnl $NetBSD: m4wrap.m4,v 1.1 1997/12/30 23:30:57 cgd Exp $ +define(`ateof', `TEXT AT EOF +')dnl +m4wrap(`ateof()')dnl +TEXT IN BODY diff --git a/regress/usr.bin/m4/m4wrap.out b/regress/usr.bin/m4/m4wrap.out new file mode 100644 index 00000000000..a1bc22a0972 --- /dev/null +++ b/regress/usr.bin/m4/m4wrap.out @@ -0,0 +1,2 @@ +TEXT IN BODY +TEXT AT EOF |