summaryrefslogtreecommitdiff
path: root/regress/usr.bin
AgeCommit message (Collapse)Author
2017-05-08fix for new SSH_ERR_KEY_LENGTH error valueDamien Miller
2017-05-08remove arcfour, blowfish and CAST here tooDamien Miller
2017-05-07Basic implementation of the roff(7) .ta (define tab stops) request.Ingo Schwarze
This is the first feature made possible by the parser reorganization. Improves the formatting of the SYNOPSIS in many Xenocara GL manuals. Also important for ports, as reported by many, including naddy@.
2017-05-05Move .sp to the roff modules. Enough infrastructure is in placeIngo Schwarze
now that this actually saves code: -70 LOC.
2017-05-05Move handling of the roff(7) .ft request from the man(7)Ingo Schwarze
modules to the new roff(7) modules. As a side effect, mdoc(7) now handles .ft, too. Of course, do not use that.
2017-05-04Parser reorg:Ingo Schwarze
Generate the first node on the roff level: .br Fix some column numbers in diagnostic messages while here.
2017-05-02Remove -P (warnings about paragraph problems).Ingo Schwarze
These are fully covered by mandoc -Tlint. OK jmc@ wiz@, and also committed to pkgsrc.
2017-05-02bugfix: treat .Bd -unfilled like .Bd -literal;Ingo Schwarze
OK jmc@ wiz@, and also committed upstream to pkgsrc
2017-05-01When trying to expand some columns in a table where the sum of theIngo Schwarze
widths of the remaining columns is already wider than the line length, underflowing size_t and dying from ENOMEM is the wrong plan. Instead, simply refrain from expanding anything in such a situation, avoiding a crash that tb@ found with afl.
2017-04-30eliminate explicit specification of protocol in tests and loops overDamien Miller
protocol. We only support SSHv2 now.
2017-04-30remove SSHv1 support from unit testsDamien Miller
2017-04-28Delete .Pp right before the first .Sh and right before any .Ss,Ingo Schwarze
and warn about it; mdoclint(1) does so, and it makes sense.
2017-04-28Start deleting redundant features that are already coveredIngo Schwarze
by mandoc(1) -Tlint, as suggested by the upstream author and maintainer Thomas Klausner <wiz @ NetBSD>. The ultimate goal is to get rid of mdoclint and integrate all its functionality into mandoc, but that will still take some time, so simplify mdoclint for the time being. jmc@ "go ahead", OK wiz@, also committed upstream This first patch removes the AUTHORS check that mandoc does, too.
2017-04-28Merge missing bits from Colin Watson's patch in bz#2658 which make integrityDarren Tucker
tests more robust against timeouts. ok djm@
2017-04-28Pull back some shell portability fixes from -portable to make future syncsDarren Tucker
easier. Note that this also changes the number of bytes skipped on "Bad Packet" errors from 2 to 3 because the worst case is changing the high byte of the length field in which case skipping 3 bytes is needed. ok djm@
2017-04-27Merge trivial patches from pkgsrc to get rid of gratuitious differences;Ingo Schwarze
no functional change on OpenBSD: rev.s 1.50, 1.52, 1.62, 1.63 Of course, keep intentional differences.
2017-04-27Detect links to self by parsing .Nm in SYNOPSIS.Ingo Schwarze
Functionality suggested and patch OK'ed by jmc@. Patch also accepted upstream in pkgsrc by wiz@.
2017-04-17test display of long URIsIngo Schwarze
2017-04-17Change COMPILER_VERSION tests which limited additional warnings to gcc4Jonathan Gray
to instead skip them on gcc3 as clang can handle -Wpointer-sign and -Wold-style-definition.
2017-04-16Use %zu to print a size_t.Mark Kettenis
2017-04-14adjust .Lk tests after groff and mandoc .Lk improvementsIngo Schwarze
2017-03-20remove /usr/bin/time calls around tests, makes diffing test runs harder.Damien Miller
Based on patch from Mike Frysinger
2017-03-14Add unit test for convtime().Darren Tucker
2017-03-14Add ASSERT_LONG_* helpers.Darren Tucker
2017-03-11regress tests for loading certificates without public keys;Damien Miller
bz#2617 based on patch from Adam Eijdenberg; ok markus@ dtucker@
2017-03-11test infinite recursion in eqn(7) "define" statementsIngo Schwarze
2017-03-11In markdown, autolinks are dangerous. Different compilers disagreeIngo Schwarze
with respect to what constitutes a valid autolink, and if a compiler deems an autolink invalid, the input turns into an unintended and potentially harmful raw HTML tag. So, never write autolinks. Instead of <link>, write [link](link). Instead of <addr>, write [addr](mailto:addr). Issue pointed out by bentley@, who also agrees with the general direction of the change.
2017-03-08Now that markdown output is tested for almost everything, test allIngo Schwarze
input files in -T markdown output mode by default and only mark those files with SKIP_MARKDOWN that are not to be tested. Much easier to read, and almost minus 40 lines of Makefile code.
2017-03-08According to the CommonMark specification, backslash escapesIngo Schwarze
and markdown markup do not work inside code spans.
2017-03-08.Bl -column never gets blank lines between rowsIngo Schwarze
2017-03-08enable -T markdown tests of filled displays and tagged listsIngo Schwarze
2017-03-08prevent infinite recursion while expanding the argumentsIngo Schwarze
of a user-defined macro; issue found by tb@ with afl(1)
2017-03-07If a user-defined macro is aborted because it exceeds the stackIngo Schwarze
limit, usually due to infinite recursion, discard whatever remains in all those open stack levels. Otherwise, insane constructions like the following could generate macros of enormous size, causing mandoc(1) to die from memory exhaustion: .de m \" original macro definition .m \" recursion to blow up the stack .de m \" definition to be run during the call of .m marked (*) very long plain text (some kilobytes) .m \" expand the above a thousand times while unwinding the stack .. \" end of the original definition .m \" (*) recursively generate a ridiculously large macro .. \" end of recursively generated definition .m \" execute the giant macro, exhausting memory Very creative abuse found by tb@ with afl(1).
2017-03-07Escape blanks at the end of markdown linesIngo Schwarze
such that they don't look like output line breaks.
2017-03-07fix completely empty .Eo: no blank line wantedIngo Schwarze
2017-03-07fix spacing after empty .FlIngo Schwarze
2017-03-07implement .An -split and -nosplitIngo Schwarze
2017-03-07Fix .In formatting in the SYNOPSIS:Ingo Schwarze
No &zwnj; in the middle of **, please.
2017-03-06Using .Nd only makes sense in the NAME section.Ingo Schwarze
Warn if that macro occurs elsewhere. Triggered by a question from Dag-Erling Smoergrav <des @ FreeBSD>.
2017-03-06URIs need different escaping; reported by reyk@Ingo Schwarze
2017-03-05first batch of -T markdown testsIngo Schwarze
2017-03-05Infrastructure for -T markdown tests.Ingo Schwarze
This is needed because -T marksdown is expected to receive less maintenance than -T ascii, so we need automation to make sure that regular parser maintenance doesn't break this output mode.
2011-12-04test some simple macros; written while working on -TmanIngo Schwarze
2017-02-19add test cases for C locale; ok schwarze@Damien Miller
2017-02-17Use typographic quotes rather than '"' for .Rs %T (no change for -TasciiIngo Schwarze
output, of course). Patch from bentley@ in November 2014. This can be committed now because groff merged Anthony's patch yesterday. Simply committing myself because asking Anthony to go search for his two-year-old patch and have him discover that it had accumulated an average of (felt) two or three conflicts per line by now would have been mean, even if hilarious.
2017-02-17Many people have been complaining for a long time that ``...'' looksIngo Schwarze
ugly in -Tascii output. For that reason, bentley@ submitted patches to render "..." instead to groff in November 2014 (yes, more than two years ago). Carsten Kunze yesterday merged them for the upcoming groff-1.22.4 release. Yay! Consequently, do the same in mandoc: Render \(Lq and \(Rq (which are used for .Do, .Dq, .Lb, and .St) as '"' in -Tascii output. All other output modes including -Tutf8 remain unchanged.
2017-02-17more tests for .IP/.nf interaction that i forgot to commitIngo Schwarze
2017-02-16Surprisingly, groff does not support scaling units in .Bl -columnIngo Schwarze
column width specifiers, so stop supporting them, too. As a side effect, this fixes an assertion failure that tb@ found with afl(1), triggered by: .Bl -column -4n
2017-02-16cope with macro value sorting implemented in dba.c rev. 1.6Ingo Schwarze
2017-02-16Fix block scoping error if an explicit block is broken by twoIngo Schwarze
implicit blocks (.Aq Bq Po .Pc) that left the outer breaker open and could in exceptional cases, like between .Bl and .It, cause tree corruption leading to NULL dereference. Found by tb@ with afl(1). While here, do not mark intermediate ENDBODY markers as broken.