summaryrefslogtreecommitdiffstats
path: root/regress/char/N
diff options
context:
space:
mode:
Diffstat (limited to 'regress/char/N')
-rw-r--r--regress/char/N/Makefile5
-rw-r--r--regress/char/N/basic.in26
-rw-r--r--regress/char/N/basic.out_ascii21
3 files changed, 52 insertions, 0 deletions
diff --git a/regress/char/N/Makefile b/regress/char/N/Makefile
new file mode 100644
index 00000000..3630b154
--- /dev/null
+++ b/regress/char/N/Makefile
@@ -0,0 +1,5 @@
+# $OpenBSD: Makefile,v 1.2 2011/11/17 16:28:45 schwarze Exp $
+
+REGRESS_TARGETS=basic
+
+.include <bsd.regress.mk>
diff --git a/regress/char/N/basic.in b/regress/char/N/basic.in
new file mode 100644
index 00000000..f915c8b7
--- /dev/null
+++ b/regress/char/N/basic.in
@@ -0,0 +1,26 @@
+.TH N-BASIC 1 "January 29, 2011" OpenBSD
+.SH NAME
+N-basic \- basic handling of character number escapes
+.SH DESCRIPTION
+basic usage: x\N'65'x
+.br
+too large: x\N'259'x
+.br
+much too large: x\N'2259'x
+.br
+.\" XXX mandoc ignores non-printable characters, while groff does not
+.\" too small: x\N'1'x
+.\" .br
+.\" null: x\N'0'x
+.\" .br
+non-numerical content: x\N'XX'x
+.br
+mixed content: x\N'65XX'x
+.br
+empty: x\N''x
+.br
+no quoting: x\N665x
+.br
+non-matching quoting characters: x\NX65Yx
+.br
+end of test document
diff --git a/regress/char/N/basic.out_ascii b/regress/char/N/basic.out_ascii
new file mode 100644
index 00000000..87c53449
--- /dev/null
+++ b/regress/char/N/basic.out_ascii
@@ -0,0 +1,21 @@
+N-BASIC(1) General Commands Manual N-BASIC(1)
+
+
+
+NNAAMMEE
+ N-basic - basic handling of character number escapes
+
+DDEESSCCRRIIPPTTIIOONN
+ basic usage: xAx
+ too large: xx
+ much too large: xx
+ non-numerical content: xX'x
+ mixed content: xAX'x
+ empty: xx
+ no quoting: x65x
+ non-matching quoting characters: xAx
+ end of test document
+
+
+
+OpenBSD January 29, 2011 N-BASIC(1)