summaryrefslogtreecommitdiff
path: root/regress/usr.bin
AgeCommit message (Collapse)Author
2016-08-20When a mismatching end macro occurs while at least two nested blocksIngo Schwarze
are open, all except the innermost open block got a bogus MDOC_ENDED marker, in some situations triggering segfaults down the road which tb@ found with afl(1). Fix the logic error by figuring out up front whether an end macro has a matching body, and if it hasn't, don't mark any blocks as broken.
2016-08-20When scanning upwards for a column list to put a .Ta macro in,Ingo Schwarze
ignore body end markers of lists breaking other blocks. Fixing a logical error that caused a NULL deref found by tb@ with afl(1).
2016-08-20If a column list starts with implicit rows (that is, rows without .It)Ingo Schwarze
and roff-level nodes (e.g. tbl or eqn) follow, don't run into an assertion. Instead, wrap the roff-level nodes in their own row. Issue found by tb@ with afl(1).
2015-01-29reorg tbl(7) test suiteIngo Schwarze
2016-08-19add tests for matching functionsDamien Miller
2016-08-10no more armish;Jason McIntyre
2016-08-10regression tests for mdoc_validate.c revisions 1.219 and 1.220Ingo Schwarze
2016-08-06Add more tests for better code coverage:Theo Buehler
What happens if begin and end are reversed? What if they are equal? While there, add a few comments on the purpose of the tests.
2016-08-06If you see code like this, you know something's quite wrongTheo Buehler
(present in some form since r1.1, still present in r1.31): 229 case 013: 230 if (randomize) 231 begin = BEGIN_DEF; 232 else if (reps == 0) 233 errx(1, "Must specify begin if reps == 0"); 234 begin = ender - reps * s + s; Add two tests that check for the intended behavior.
2016-08-05enable the mandoc.db(5) regression suite, code is stable enough nowIngo Schwarze
2016-08-05adjust expected output after the NAME_HEAD fix in mandocdb.c rev. 1.175Ingo Schwarze
2016-08-05enable dddd regression testTheo Buehler
2016-08-04adjust database file name and version number to what was committedIngo Schwarze
2016-07-30hook up regression tests for jot(1)Theo Buehler
2016-07-30Add regression tests for jot(1).Theo Buehler
Adapted from FreeBSD's test suite by attila () stalphonsos ! com. Minor tweaks: * make tests work properly with 'make obj' and setting VERBOSE * add 10 tests checking some examples in our man page * disable the dddd test for now since it loops forever Besides dddd, the following five tests fail: dhhd dhhd2 wp3 wp4 wp5 Suggested fixes for these are on tech@ Many thanks to attila for doing the hard work!
2016-07-30test suite for the new mandoc.db(5) format;Ingo Schwarze
will be enabled after committing in src/usr.bin/mandoc
2016-07-14Correct equal in test.Darren Tucker
2016-07-04DEBUGLIBS has been broken since the gcc4 switch, so delete it. CFLAGSPhilip Guenther
contains -g by default anyway problem noted by Edgar Pettijohn (edgar (at) pettijohn-web.com) ok millert@ kettenis@ deraadt@
2016-06-07Replace (remaining) systrace policy files with columns of numbers forOkan Demirmen
the tab spacing regression test; from Ray Lai.
2016-06-03Add a test for ssh(1)'s config file parsing.Darren Tucker
2016-06-03Add 'sshd' to the test ID as I'm about to add a similar set for ssh.Darren Tucker
2016-05-31Replace most of the tests based on systrace output; from Ray.Okan Demirmen
2016-05-30Some tests for \<; will be fixed by martijn@'s upcoming commit to process.cIngo Schwarze
2016-05-30stricter malloc.conf(5) options for utf8 testsIngo Schwarze
2016-05-30Fix two rare edge cases:Ingo Schwarze
1. If vasprintf() returns < 0, do not access a NULL pointer in snmprintf(), and do not free() the pointer returned from vasprintf() because on some systems other than OpenBSD, it might be a bogus pointer. 2. If vasprintf() returns == 0, return 0 and "" rather than -1 and NULL. Besides, free(dst) is pointless after failure (not a bug). One half OK martijn@, the other half OK deraadt@; committing quickly before people get hurt.
2016-05-26test the new utf8 moduleIngo Schwarze
2016-05-23UTF-8 support.Ingo Schwarze
Using feedback about bugs in earlier versions from Matthew Martin <phy1729 at gmail dot com> and from tsg@ who tested it with afl(1). OK czarkoff@ tsg@
2016-05-13no more hppa64;Jason McIntyre
2016-05-03Fix test after changing default column size from 60 to 80.Martijn van Duren
OK bentley@
2016-05-03These tests depended on whatever the user's locale was,Ingo Schwarze
and the last one failed for LC_CTYPE=C. Instead, ignore the user's locale and run each test twice, once for UTF-8 and once for US-ASCII. Problem reported by deraadt@.
2016-05-03Regression tests for fold(1).Ingo Schwarze
The lines containing SKIPUTF8 will be removed once the utility is fixed.
2016-05-03Set umask to prevent "Bad owner or permissions" errors.Darren Tucker
2016-05-03support doasDamien Miller
2016-05-03unit tests for sshbuf_dup_string()Damien Miller
2016-05-03Use a subshell for constructing key types to work around different sedDarren Tucker
behaviours for -portable.
2016-05-02unit and regress tests for SHA256/512; ok markusDamien Miller
2016-05-01Add a test for pstring (a QDOS executable header).Nicholas Marriott
2016-05-01BE ELF object (just the header); also trim the LE object to just theNicholas Marriott
header as well.
2016-05-01pcap file test (header of file only).Nicholas Marriott
2016-05-01Remove some unnecessary comments and t23 which has been disabled forever.Nicholas Marriott
2016-05-01Add a PPM file test (truncated to just the header so it is text only).Nicholas Marriott
2016-05-01Test for default (RTF file with an unrecognized character set).Nicholas Marriott
2016-04-15missing bit of Include regressDamien Miller
2016-04-15remove redundant CLEANFILES sectionDamien Miller
2016-04-15sync CLEANFILES with portable, sortDamien Miller
2016-04-15regression test for ssh_config Include directiveDamien Miller
2016-04-14unbreak test for recent ssh de-duplicated forwarding changeDamien Miller
2016-04-14add test knob and warning for StrictModesDamien Miller
2016-04-10Simple regression tests for rev(1), including UTF-8.Ingo Schwarze
The program will soon be fixed by martijn@.
2016-03-25regression tests for underlined and bold underscores;Ingo Schwarze
currently broken, but natano@ will soon commit the fix to ul.c