summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
2017-05-30First pass to make bluhm@ happy regarding doas regress conf.Vadim Zhukov
1. Make permit tests use wsrc instead of wobj (because basically, to run test you need obj being writable, unless you want to pollute /usr/src); 2. Test if current user is in wobj group prior running the test, and skip the test if he is not.
2017-05-30STYLE message about useless macros we don't want (Bt Tn Ud);Ingo Schwarze
not a WARNING because they don't endanger portability
2017-05-30fix formatting of intermediate punctuation in .LkIngo Schwarze
2017-05-30Macro argument quoting does not prevent recognition of punctuationIngo Schwarze
and of called macros. This bug affects almost all macros, and fixing it simplifies the code. It is amazing that the bogus ARGS_QWORD feature got implemented in the first place, and then carrier along for more than eight years without anybody ever noticing that it was pointless. Reported by Leah Neukirchen <leah at vuxu dot org>, found on Void Linux.
2017-05-30Organize iked parser regress Makefile similar to mandoc dbm_dump.Alexander Bluhm
When object files from other parts of the tree are needed, build them there and symlink them into the regress obj directory. OK markus@
2017-05-30Link iked test to build so that obj directories are created.Alexander Bluhm
2017-05-30Remove the .INTERRUPT target, it prevented to terminate the testAlexander Bluhm
with Ctrl-C in some situations.
2017-05-30fileops test: Also run on ext2fsStefan Fritsch
Also sort subdirs in makefile
2017-05-30Fix a race by always modifying the 'counter' variable while holding theMartin Pieuchot
mutex. ok tedu@
2017-05-29fuzz the iked payload parser using the openssh unit-test frameworkMarkus Friedl
from hshoexer
2017-05-29*** empty log message ***Markus Friedl
2017-05-29Minor regress test cleanup.Alexander Bluhm
OK sf@
2017-05-29Re-add line continuation \ that went missing in the previous commitStefan Fritsch
2017-05-29Regress test for sparse files & mmap with different FSsStefan Fritsch
This test creates a file with a hole in the middle and then checks that when reading or mmaping the whole file, the data is correct. This catches the bug introduced by the "Implement VFS read clustering for MSDOSFS" commit that hat to be reverted. For now, we run the test with FAT16, FAT32, FFS With much advice from bluhm@
2017-05-29Regress test for sparse files & mmap with different FSsStefan Fritsch
This test creates a file with a hole in the middle and then checks that when reading or mmaping the whole file, the data is correct. This catches the bug introduced by the "Implement VFS read clustering for MSDOSFS" commit that hat to be reverted. For now, we run the test with FAT16, FAT32, FFS With much advice from bluhm@
2017-05-28Now that pf looks behind IPv4 authentication headers, disable theAlexander Bluhm
transport mode tests that fail because of floating states. At least IPv4 and IPv6 are in sync now.
2017-05-28Fix cursor position while removing characters from the command line.anton
While here, remove a condition that becomes redundant. ok schwarze@ tb@
2017-05-27Also test arrays of double and long long.Todd C. Miller
2017-05-27Do not connect to cvs.openbsd.org in regress. Run on loopback toAlexander Bluhm
make the test pass without internet access. OK mpi@
2017-05-27Go to sleep to let our contending thread win a race.Martin Pieuchot
Because we cannot assume that the contending thread will grab it between our unlock/lock. ok kettenis@
2017-05-27Do not use reject routes as they prevent path MTU discovery.Alexander Bluhm
Drop possible old TCP connections from previous test runs. Adapt regex that checks tcpdump pflog0, output has been fixed.
2017-05-26add a test for the git diffs, suggested by tomTed Unangst
2017-05-26Synchronise chacha test cases with the referenced draft - this adds aJoel Sing
missing test case, reassigns two of the labels and removes a test case that was from an earlier draft. Inconsistency noted by Steven Roberts <fenderq at gmail dot com>, some time ago...
2017-05-22Add timing and test name options.Todd C. Miller
2017-05-22Instead of embedding pre-generated tables from McIlroy's "A KillerTodd C. Miller
Adversary for Quicksort", just include the code to generate them. Also allow the number of elements to be specified on the command line.
2017-05-21correct a return value testJonathan Gray
ok millert@
2017-05-19Add input targeted at the Bentley and McIrlroy quicksort generatedTodd C. Miller
by McIlroy's "A Killer Adversary for Quicksort". This results in quadratic behavior and the test aborts before completion.
2017-05-18use mergesort instead of heapsort when comparing resultsTodd C. Miller
2017-05-17*Add* a test checking that no empty databases get created,Ingo Schwarze
by *removing* one line from the Makefile. Neat, isn't it?
2017-05-17Stop testing the creation and the properties of empty databases.Ingo Schwarze
They are about to be deprecated. For the tests built on top of them, use a database containing a single page instead.
2017-05-17Avoid running the "killer" tests multiple times with the sameTodd C. Miller
parameters.
2017-05-17Add "median of three" killer, as seen in "Introspective Sorting andTodd C. Miller
Selection Algorithms" by David R Musser.
2017-05-17Approximate nlgn instead of using libm. The same approximation mayTodd C. Miller
be used in qsort.c in a later commit.
2017-05-17Add "killer" input from "algorithmic complexity attacks and libcTodd C. Miller
qsort()". This causes quadratic behavior with the 4.4BSD qsort's "switch to insertion sort" optimization when the input appears to be mostly sorted. That optimization was removed in qsort.c r1.12 but it is worth having in the regress test too.
2017-05-17Revert MI AES-XTS code back to T-tables amid poor performanceMike Belopuhov
Suffered by many, the revert tested by stsp@.
2017-05-17There's no need to track the number of errors (and the counter mightTodd C. Miller
wrap), make it a flag instead. Pointed out by schwarze@
2017-05-17Add qsort(3) regress based on Bentley & McIlroy's "Engineering a Sort Function"Todd C. Miller
2017-05-15Try to work around a race in the daily test run. Before killingAlexander Bluhm
tcpdump, sleep a while to collect all data.
2017-05-15Delete the -H option.Ingo Schwarze
What it did was nothing but bad advice nowadays. OK jmc@ wiz@
2017-05-15Delete the obsolete 9-argument-check for .Sh.Ingo Schwarze
Delete the section ordering check covered by mandoc. Some simplifications and forgotten -a cleanup. OK jmc@ wiz@
2017-05-15Use netcat options -n, -W, -w to simplify test. Wrap long lines.Alexander Bluhm
2017-05-14delete the -a option, it's now fully covered by mandoc -Tlint;Ingo Schwarze
OK jmc@ wiz@
2017-05-14remove the -s option, it is fully covered by mandoc -Tlint;Ingo Schwarze
OK jmc@
2017-05-13Pick aes.c instead of rijndael.cMike Belopuhov
2017-05-12Fix typos and spacing. From Andre Smagin <as at smagin.com>. Thanks.Alexandre Ratchov
2017-05-12Run all IPsec tests with a pf rule that logs everything on the enc0Alexander Bluhm
interface. Use tcpdump to write the pflog0 output into a file. Then grep can verify that all encrypted packets have been processed by pf.
2017-05-11Enable IPv6 IPsec transport mode tests for ping and TCP over ESPAlexander Bluhm
and IPComp. The kernel has been fixed.
2017-05-11Use the new netcat -W recvlimit feature to speed up the test.Alexander Bluhm
2017-05-10Run tcpdump(8) on the enc0 device while the test is sending IPsecAlexander Bluhm
packets. Then check whether decrypted packets have been processed by bpf(4) as expected.
2017-05-08Basic implementation of the roff(7) .ti (temporary indent) request.Ingo Schwarze
Needed by about four dozen ports (thanks to naddy@ for the research).