From d9f0f81c846a8405c29870e4a8379e5e79d1cad3 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 8 Feb 2017 03:02:13 +0000 Subject: Finally port the OpenBSD regression suite. Both kristaps@ and wiz@ repeated asked for this, literally for years. --- regress/roff/tr/Makefile | 6 ++++++ regress/roff/tr/args.in | 16 ++++++++++++++++ regress/roff/tr/args.out_ascii | 14 ++++++++++++++ regress/roff/tr/args.out_lint | 3 +++ 4 files changed, 39 insertions(+) create mode 100644 regress/roff/tr/Makefile create mode 100644 regress/roff/tr/args.in create mode 100644 regress/roff/tr/args.out_ascii create mode 100644 regress/roff/tr/args.out_lint (limited to 'regress/roff/tr') diff --git a/regress/roff/tr/Makefile b/regress/roff/tr/Makefile new file mode 100644 index 00000000..791c27ef --- /dev/null +++ b/regress/roff/tr/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.1 2015/02/06 16:05:51 schwarze Exp $ + +REGRESS_TARGETS = args +LINT_TARGETS = args + +.include diff --git a/regress/roff/tr/args.in b/regress/roff/tr/args.in new file mode 100644 index 00000000..1ef074d6 --- /dev/null +++ b/regress/roff/tr/args.in @@ -0,0 +1,16 @@ +.TH TR-BASIC 1 "February 6, 2015" OpenBSD +.SH NAME +tr-args \- arguments of the tr request +.SH DESCRIPTION +no argument: +.tr +one character: +.tr x +>>x<< +two characters: +.tr xy +>>x<< +three characters: +.tr xyz +>>xz<< +last line diff --git a/regress/roff/tr/args.out_ascii b/regress/roff/tr/args.out_ascii new file mode 100644 index 00000000..b199ed6b --- /dev/null +++ b/regress/roff/tr/args.out_ascii @@ -0,0 +1,14 @@ +TR-BASIC(1) General Commands Manual TR-BASIC(1) + + + +NNAAMMEE + tr-args - arguments of the tr request + +DDEESSCCRRIIPPTTIIOONN + no argument: one character: >> << two characters: >>y<< three + characters: >>y << last line + + + +OpenBSD February 6, 2015 TR-BASIC(1) diff --git a/regress/roff/tr/args.out_lint b/regress/roff/tr/args.out_lint new file mode 100644 index 00000000..dec14b80 --- /dev/null +++ b/regress/roff/tr/args.out_lint @@ -0,0 +1,3 @@ +mandoc: args.in:6:1: WARNING: skipping empty request: tr +mandoc: args.in:8:5: WARNING: odd number of characters in request: tr x +mandoc: args.in:14:7: WARNING: odd number of characters in request: tr z -- cgit v1.2.3-56-ge451