summaryrefslogtreecommitdiff
path: root/regress/usr.bin
AgeCommit message (Collapse)Author
2014-05-21when failing because of unexpected output, show the offending outputDamien Miller
2014-05-04Remove the Z flag from the list of malloc options as itLoganaden Velvindron
was removed from malloc.c 10 days ago. OK from miod@
2014-05-03Add tests for with and without compression, with and without privsep.Darren Tucker
2014-05-02Add missing $ on OpenBSD cvs tags, ok djmAndre de Oliveira
2014-05-02use the test_helper fuzzer rather than the hand-rolled code thatDamien Miller
predates it
2014-05-02make the fuzzer seed const to make it clear that it is never modifiedDamien Miller
2014-04-30unit tests for new buffer API; including basic fuzz testingDamien Miller
2014-04-21repair regress tests broken by server-side default cipher/kex/mac changesDamien Miller
by ensuring that the option under test is included in the server's algorithm list
2014-04-15Using macros in .Sh header lines, or having .Sm off or .Bk -words openIngo Schwarze
while processing .Sh, is not at all recommended, but it's not strictly a syntax violation either, and in any case, mandoc must not die in an assertion. I broke this in rev. 1.124. Crash found while trying to read the (rather broken) original 4.3BSD-Reno od(1) manual page.
2014-04-14fix test regarding false positivesJasper Lievisse Adriaanse
2014-04-14When i committed man_term.c rev. 1.99, i forgot to adjust this test;Ingo Schwarze
now i found the M in my tree...
2014-04-08Add a new term_flushln() flag TERMP_BRIND (if break, then indent)Ingo Schwarze
to control indentation of continuation lines in TERMP_NOBREAK mode. In the past, this was always on; continue using it for .Bl, .Nm, .Fn, .Fo, and .HP, but no longer for .IP and .TP. I looked at this because sthen@ reported the issue in a manual of a Perl module from ports, but it affects base, too: This patch reduces groff-mandoc differences in base by more than 15%.
2014-04-08more tests for excessively long text in TERMP_NOBREAK modeIngo Schwarze
2014-04-08Fully implement the \B (validate numerical expression) andIngo Schwarze
partially implement the \w (measure text width) escape sequence in a way that makes them usable in numerical expressions and in conditional requests, similar to how \n (interpolate number register) and \* (expand user-defined string) are implemented. This lets mandoc(1) handle the baroque low-level roff code found at the beginning of the ggrep(1) manual. Thanks to pascal@ for the report.
2014-04-07We already supported (outer) user-defined strings containing referencesIngo Schwarze
to other (inner) user-defined strings in their values, such that the inner ones get expanded at expansion time of the outer ones (delayed evaluation). Now we also support specifying the name of an (outer) user-defined string to expand using the expanded values of some other (inner) user-defined strings (indirect reference).
2014-04-07Almost complete implementation of roff(7) numerical expressions.Ingo Schwarze
Support all binary operators except ';' (scale conversion). Fully support chained operations and nested parentheses. Use this for the .nr, .if, and .ie requests. While here, fix parsing of integer numbers in roff_getnum().
2014-04-05Implement the roff(7) .rr (remove register) request.Ingo Schwarze
As reported by sthen@, the perl-5.18 pod2man(1) preamble thinks cool kids use that in manuals. I hope *you* know better.
2014-03-31recognise CONTEXT sections, for man9;Jason McIntyre
2014-03-31add test where Libs contains a variable referenceJasper Lievisse Adriaanse
2014-03-30Support relative arguments to .ll (increase or decrease line length).Ingo Schwarze
2014-03-30Implement the roff(7) .ll (line length) request.Ingo Schwarze
Found by naddy@ in the textproc/enchant(1) port. Of course, do not use this in new manuals.
2014-03-30make -Tascii explicit, to be safe when -Tlocale becomes the defaultIngo Schwarze
2014-03-29don't spam the consoleJasper Lievisse Adriaanse
2014-03-29tweak the non-hanging but failing earlier test.Jasper Lievisse Adriaanse
2014-03-29add currently failing (rather, hanging) test taken from empathy'sJasper Lievisse Adriaanse
configure script.
2014-03-29shuffle --variable related tests together and add a few more which are known ↵Jasper Lievisse Adriaanse
to pass
2014-03-28Allow leading and trailing vertical lines,Ingo Schwarze
and format them in the same way as groff. While here, do not require whitespace before vertical lines in layout specifications. Issues found by bentley@ in mpv(1).
2014-03-18Retire hp300, mvme68k and mvme88k ports. These ports have no users, keepingMiod Vallat
this hardware alive is becoming increasingly difficult, and I should heed the message sent by the three disks which have died on me over the last few days. Noone sane will mourn these ports anyway. So long, and thanks for the fish.
2014-03-17use quiet signifyTed Unangst
2014-03-17test -CTed Unangst
2014-03-17fix for new sig header by testing pipe code too ;)Ted Unangst
2014-03-13this test is a sorry mess of race conditions; add another sleepDamien Miller
to avoid a failure on slow machines (at least until I find a better way)
2014-03-08Test handling of combining and non-combining accentsIngo Schwarze
for the ASCII and UTF-8 output modes. Related to mandoc/chars.in rev. 1.21.
2014-03-08In .nf mode, use the MAN_LINE flag to detect input line breaksIngo Schwarze
instead of the man_node line member. This is required to preserve line breaks contained in user-defined macros called in .nf mode. Found in a code audit triggered by fixing a similar issue in .TP.
2014-03-08To find out whether .TP head arguments are same-line or next-line arguments,Ingo Schwarze
use the MAN_LINE flag instead of the man_node line member. This is required such that user-defined macros wrapping .TP work correctly. Issue found by Havard Eidnes in Tcl_NewStringObj(3), reported via the NetBSD bug tracking system and Thomas Klausner <wiz at NetBSD>.
2014-03-08Improve .if/.ie condition handling.Ingo Schwarze
* Support string comparisons. * Support negation not only for numerical, but for all conditions. * Switch the `o' condition from false to true. * Handle the `c', `d', and `r' conditions as false for now. * Use int for boolean data instead of rolling our own "enum roffrule"; needed such that we can use the standard ! and == operators. Havard Eidnes reported via the NetBSD bug tracking system that some Tcl*(3) manuals need this, and Thomas Klausner <wiz at NetBSD> forwarded the report to me. This doesn't make the crazy Tcl*(3) macrology maze happy yet, but brings us a bit closer.
2014-03-07In roff_cond_sub(), make sure that the incorrect input sequence `\\}',Ingo Schwarze
when found on a macro line, does not close a conditional block. The companion function roff_cond_text() already did this correctly, but make the code more readable without functional change. While here, report the correct column number in related error messages.
2014-03-07Even on macro lines, \} must not cause whitespace.Ingo Schwarze
2014-03-07Three bugfixes related to the closing of conditional blocks:Ingo Schwarze
1. Handle more than one `\}' on macro lines, as it was already done for text lines. 2. Do not treat `\}' as a macro invocation after a dot at the beginning of a line. That allows more than one `\}' to work on lines starting with `.\}'. It also simplifies the code. 3. Do not complain about characters following `\}'. Those are not lost, but handled normally both on text and macro lines.
2014-03-06- for netbsd, accept 2014 datesJason McIntyre
- netbsd have changed hp700 to hppa (from wiz@netbsd) - update rcsid
2014-02-27RCS IdDamien Miller
2014-02-27keep return values that are printed in error messages;Damien Miller
from portable
2014-02-27remove any existing LoginGraceTime from sshd_config before addingDamien Miller
a specific one for the test back in
2014-02-21Check that we do not break the line at existing hyphens in macro arguments.Ingo Schwarze
2014-02-16when indenting, extend the right margin accordingly, when needed;Ingo Schwarze
fixes a crash reported by blambert@ and a few other, similar ones
2014-02-14Implement the roff(7) .as request (append to user-defined string).Ingo Schwarze
Missing feature found by jca@ in ratpoison(1). The ratpoison(1) manual still doesn't work because it uses .shift and .while, too (apparently, ratpoison is so complex that it needs a Turing-complete language to even format its manual :-). Written at Christchurch International Airport.
2014-02-14Handle some predefined read-only number registers, e.g. .H and .V.Ingo Schwarze
In particular, this improves handling of the pod2man(1) preamble; for examples of the effect, see some author names in perlthrtut(1). Missing feature reported by Andreas Voegele <mail at andreasvoegele dot com> more than two years ago. Written at Christchurch International Airport.
2014-01-26make sure $SCP is tested on the remote end rather than whichever oneDamien Miller
happens to be in $PATH; from portable
2014-01-26automatically generate revoked keys from listed keys rather thanDamien Miller
manually specifying each type; from portable
2014-01-25Add a test for DH GEX sizesDarren Tucker