summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
2011-01-04Fix stupid commit error pointed out by guenther@ (thanks!):Ingo Schwarze
1) Actually commit TP/* this time. 2) Revert IP/* to 1.1, which is the correct version. What happened is that i committed both IP/* and TP/* into IP, committing two versions in one commit, because the file TP/CVS/Repository was corrupt in my tree. I didn't even know that could happen...
2011-01-04Multiple man(7) .IP and .TP fixes started during p2k10:Ingo Schwarze
Affecting both -Tascii and -Thtml: * The .IP HEAD uses the second argument as the width, not the last one. * Only print the first .IP HEAD argument, not all but the last. Affecting only -Tascii: * The .IP and .TP HEADs must be printed without literal mode, but literal mode must be restored afterwards. * After the .IP and .TP bodies, we only want term_newln(), not term_flushln(), or we would get two blank lines in literal mode. * The .TP HEAD does not use TWOSPACE, just like .IP doesn't either. * In literal mode, clear NOLPAD after each line, or subsequent lines would get no indentation whatsoever. Affecting only -Thtml: * Only print next-line .TP children, instead of all but the first. OK kristaps@ on the -Tascii part; and: "Can you work this into man_html.c, too?"
2011-01-04Multiple man(7) .IP and .TP fixes started during p2k10:Ingo Schwarze
Affecting both -Tascii and -Thtml: * The .IP HEAD uses the second argument as the width, not the last one. * Only print the first .IP HEAD argument, not all but the last. Affecting only -Tascii: * The .IP and .TP HEADs must be printed without literal mode, but literal mode must be restored afterwards. * After the .IP and .TP bodies, we only want term_newln(), not term_flushln(), or we would get two blank lines in literal mode. * The .TP HEAD does not use TWOSPACE, just like .IP doesn't either. * In literal mode, clear NOLPAD after each line, or subsequent lines would get no indentation whatsoever. Affecting only -Thtml: * Only print next-line .TP children, instead of all but the first. OK kristaps@ on the -Tascii part; and: "Can you work this into man_html.c, too?"
2011-01-03Unify roff macro argument parsing (in roff.c, roff_userdef()) and man macroIngo Schwarze
argument parsing (in man_argv.c, man_args()), both having different bugs, to use one common macro argument parser (in mandoc.c, mandoc_getarg()), because from the point of view of roff, man macros are just roff macros, hence their arguments are parsed in exactly the same way. While doing so, fix these bugs: * Escaped blanks (i.e. those preceded by an odd number of backslashes) were mishandled as argument separators in unquoted arguments to user-defined roff macros. * Unescaped blanks preceded by an even number of backslashes were not recognized as argument separators in unquoted arguments to man macros. * Escaped backslashes (i.e. pairs of backslashes) were not reduced to single backslashes both in unquoted and quoted arguments both to user-defined roff macros and to man macros. * Escaped quotes (i.e. pairs of quotes inside quoted arguments) were not reduced to single quotes in man macros. OK kristaps@ Note that mdoc macro argument parsing is yet another beast for no good reason and is probably afflicted by similar bugs. But i don't attempt to fix that right now because it is intricately entangled with lots of unrelated high-level mdoc(7) functionality, like delimiter handling and column list phrase handling. Disentagling that would waste too much time now.
2011-01-02more tests of white space handlingIngo Schwarze
2011-01-02permit 2011; from Thomas KlausnerJason McIntyre
2011-01-01test whether the .Fl macro is parsedIngo Schwarze
2011-01-01test handling of zero-length user-defined stringsIngo Schwarze
2011-01-01also test .Pp in literal contextIngo Schwarze
2011-01-01also test .Mt without argumentsIngo Schwarze
2010-12-26Use sizeof(double) instead of hardcoding 8.Miod Vallat
2010-12-24now that pkg_create checks more stuff, we have to ask for it to createMarc Espie
more bogus packages so that we can get errors out of pkg_add...
2010-12-19Handle .Bk the same way as groff 1.20.1:Ingo Schwarze
.Bk without arguments defaults to -words. .Bk with invalid arguments (including -lines) has no effect. ok kristaps@
2010-12-09Abort endless loops during roff macro and string expansion.Ingo Schwarze
For now, use the simplest conceivable approach, like groff does: Just a fixed, ugly input stack limit. Kristaps@ agrees.
2010-12-09Roff only interpolates \* strings when the leading backslash is not escaped.Ingo Schwarze
Kristaps@ agrees with the idea, even though he didn't review the final patch.
2010-12-04add a few simple tests found in my treeIngo Schwarze
2010-12-04Now that we don't have groff in base any longer, check in the desired output,Ingo Schwarze
such that the regression suite does not depend on ports.
2010-12-04adjust for hard-link supportDamien Miller
2010-12-03really turn -H off;Jason McIntyre
2010-12-03turn off -H by default (<> warning), since mandoc does not have the sameJason McIntyre
html issues as nroff did; from Thomas Klausner
2010-11-06make sio_onvol(3) return a integer exposing whether a volume knobAlexandre Ratchov
is available for the stream. As we're at it, remove macros and functions that are neither used nor documented.
2010-10-15libdes -> libcryptoJonathan Gray
2010-10-06Retire SkipjackMike Belopuhov
There's not much use for the declassified cipher from the 80's with a questionable license these days. According to the FIPS drafts, Skipjack reaches its EOL in December 2010. The libc portion will be removed after the ports hackathon. djm and thib agree, no objections from deraadt Thanks to jsg for digging up FIPS drafts.
2010-10-03don't use non-standard CFLAGS; ok miod@, deraadt@Christian Weisgerber
2010-09-26allow "mips64";Jason McIntyre
2010-09-24add a GLOB_KEEPSTAT option that retains a copy of the struct statDamien Miller
information that is looked up while matching glob(3)s Keeping this information around can make a big difference when fetching it is expensive, e.g. in sftp which uses GLOB_ALTDIRFUNC feedback millert@ jmc@ "get it in before the libc crank" deraadt@
2010-09-22regress test for each of the key exchange algorithms that we supportDamien Miller
2010-09-22Test vectors for GMAC as published in the original GCM proposalMike Belopuhov
to NIST (gcm-spec.pdf) and draft-mcgrew-gcm-test-01.txt.
2010-09-18Add cvs tag, author name and yearTodd C. Miller
2010-09-18Test default precision when ndigit is negative.Todd C. Miller
2010-09-18Add more test vectors.Todd C. Miller
2010-09-17Add gcvt() regress with test vectors derived from perl regress.Todd C. Miller
Does not currently pass, which is why perl can't use it to format doubles.
2010-09-02test different key types (dsa, rsa, ecdsa) and sizes for loginMarkus Friedl
and host keys; print time used for each iteration; ok djm@
2010-09-01some very minor tweaks to bring us in line with mdoclint -r1.12 andJason McIntyre
mdoclint.1 -r1.2; some minor os-specific differences remain
2010-08-31put .Os in the right place;Jason McIntyre
2010-08-31- catching up with upstream mdoclint, recognise IMPLEMENTATION NOTES andJason McIntyre
COMPATIBILTY as sections. these remain defined only for netbsd, since we do not use these sections. - contrariwise, undefine EXIT STATUS as being netbsd only. despite some misgivings, i think we probably do need to ressurect this section. i'll start to make these changes soon.
2010-08-31tests for ECDSA keysDamien Miller
2010-08-31tests for ECDSA certificatesDamien Miller
2010-08-23Add setenv/putenv regressTodd C. Miller
2010-08-08remove rmd160 and add cksum, sha256, and sum while hereDavid Krause
phessler@ deraadt@
2010-08-07Link against libkern's timingsafe_bcmp.c, so key_wrap regress testsMatthew Dempsky
can compile again. ok phessler@, "Get it in right away" deraadt@
2010-08-07new test for merging because of wrong deps that must lead to failure.Marc Espie
also, PKG_ADD -> ADD_PKG to avoid confusion with bsd.port.mk.
2010-08-04Revert previous since it makes the tests fail.Mark Kettenis
2010-08-04Add the new kqueue+rfork test, but disable the tests that use RFMEMPhilip Guenthe
as they don't work right now
2010-08-04Regression test for the recent rfork+kqueue fixPhilip Guenthe
2010-08-04tun* interfaces are now automatically destroyed on last close whenPhilip Guenthe
originally created by opening /dev/tun*
2010-08-04Confirm that a NOTE_EXIT knote is delivered when the child exitsPhilip Guenthe
Fix a C thinko
2010-07-25basic regress tests (based on test-19.c) for _Bool and _Complex supportPhilip Guenthe
2010-07-22Replace strncat() with strlcat().Marcus Glocker
2010-07-22Change include ordering.Marcus Glocker