summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
2018-08-10Run the wycheproof ECDSA test vectors against libcrypto.Joel Sing
Skip the ecdsa_webcrypto_test.json vectors for the time being, as these likely need some extra glue.
2018-08-10Run the X25519 wycheproof test vectors against libcrypto.Joel Sing
2018-08-10Rework regress so that it is easier to add additional test types.Joel Sing
2018-08-10Use a table rather than a switch when converting strings to NIDs.Joel Sing
This will make it easier to extend.
2018-08-10Add a regress test that checks file descriptor allocation across fork.Joel Sing
In particular, this checks the behaviour of kqueue fds being closed and reallocated across a fork.
2018-08-10The script that cooks up PuTTY format host keys does not understandDarren Tucker
the new key format so convert back to old format to create the PuTTY key and remove it once done.
2018-08-04Add regress test to ensure that chmod fails when unveiled with "r"Bob Beck
(problem noticed by semarie@ - fix forthcoming)
2018-08-03Improve synchronization between the parent and children. This fixesVisa Hankala
a spurious test failure spotted by anton@ and eliminates sleeping in the test. Feedback and OK anton@
2018-08-02Test messing with "." both when having . unveiled for an operation, andBob Beck
with . veiled without the right flags for an operation, since these come out of namei differently and . is the bane of the special LOCKPARENT corner cases - this tests a panic found by anton@
2018-07-30Declare then assign local variable, no binary change.anton
2018-07-30Replace fork with sniffer thread in Python. Clear the BPF listAlexander Bluhm
before sniffing, Scapy 2.4.0 remembers old packets that confuse the test.
2018-07-30Add regress covering the recently fixed NULL pointer deref in open().anton
2018-07-29Add regress for ensuring .. is appropriately *not* used as aBob Beck
descending match
2018-07-29New scapy 2.4.0 buffers packets at the bfp layer. Call sniff() toAlexander Bluhm
clear this list when starting the sniffer thread. The TCP sequence number check in sr1() became more strict. Use the sniffer thread to capture retransmitted packetes which the new TCP answers() check ignores now.
2018-07-28Use strtonum in host()kn
This is simpler than checking three cases for `q' and gives nicer error messages. While here, use `v6mask' as maximum netmask instead of hardcoding it. OK sashan
2018-07-27add regress for unveil of "." now that I fixed thisBob Beck
2018-07-27Make the BYPASSUNVEIL test actually test BYPASSUNVEIL with tmppathBob Beck
2018-07-25Provide a harness that runs test vectors from Project Wycheproof againstJoel Sing
libcrypto. Initially this just covers RSA signatures, but can be extended to cover other cryptographic algorithms. This regress requires the go and wycheproof-testvector packages to be installed, with the regress being skipped otherwise. Discussed with beck@ and tb@
2018-07-23avoid using argv[0] for printing to stderrTheo Buehler
2018-07-22hook up fchownanton
2018-07-22Add regress covering the recently fixed NULL pointer deref in fchown().anton
2018-07-20The newly added realpath(3) in vmd's parse.y checks whether theAlexander Bluhm
directories exist. Create the path and file for test vmd-fail-disk-path-too-long.
2018-07-20Listen on 127.0.0.1 and ::1 in the regress config since the test use localhostClaudio Jeker
which can be resolved to either of the two values. OK bluhm@
2017-10-11Add regression tests for vmd(8) config parsing.Alexander Bluhm
from Carlos Cardenas; OK mlarkin@
2018-07-20Add missing RCS Id.helg
2018-07-20add regress test for "bypassunveil" where a path should be unveil'd byRobert Nagy
specific pledge(2) calls ok beck@
2018-07-19Add regress test for inheritance of unveil's across fork to childrenBob Beck
2018-07-18Bob's license was missing, add it.Theo Buehler
ok beck
2018-07-17some more style fixesTheo Buehler
2018-07-17Add missing $OpenBSD$ markers.Theo Buehler
2018-07-17remove unused, empty fileTheo Buehler
2018-07-17Replace getprogname() to argv[0] in bnaddsubKinichiro Inoguchi
ok tb@
2018-07-17Don't send FBT_DESTROY if the FUSE connection is still PENDING. Alsohelg
don't attempt to determine the size of the root inode. This is because we don't need to know the size of directories and FBT_GETATTR will also cause a deadlock if fuse_unmount(3) is called before the file system has a chance to process fbufs. Add corresponding regression test. ok mpi@
2018-07-17libfuse now supports -f command line option; uncomment test.helg
2018-07-16memleak in unittest; found by valgrindDamien Miller
2018-07-15re-commit the removal of the EC_POINTs_mul() regression tests with num > 1Theo Buehler
2018-07-15$OpenBSD$Theo Buehler
2018-07-15Also revert regression tests so that EC_POINTs_mul() with longer vectorsTheo Buehler
gets exercised again.
2018-07-13Unveiling unveil(2).Bob Beck
This brings unveil into the tree, disabled by default - Currently this will return EPERM on all attempts to use it until we are fully certain it is ready for people to start using, but this now allows for others to do more tweaking and experimentation. Still needs to send the unveil's across forks and execs before fully enabling. Many thanks to robert@ and deraadt@ for extensive testing. ok deraadt@
2018-07-13tests for next steps in unveilBob Beck
2018-07-13make this use ssh_proxy rather than starting/stopping a daemon forDamien Miller
each testcase
2018-07-13fix leaks in unit test; with this, all unit tests are leak freeDamien Miller
(as far as valgrind can spot anyway)
2018-07-12fix Test 7.1 after main.c rev. 1.37;Ingo Schwarze
breaking the output lines earlier with the 'l' command is intentional
2018-07-12symlinks make my cry.. thanks robert.. don't you care about my feelings?Bob Beck
2018-07-12Add regress test for realpath and modify behavior appropriatelyBob Beck
2018-07-11some regression tests for lam(1) including width measurements;Ingo Schwarze
will be fixed soon and then linked to the build
2018-07-11regress to check nested subdirs and ..'sBob Beck
2018-07-11test changed stat lying semantics - we don't lie about filesBob Beck
2018-07-11Some spaces have been removed from pfctl print. Adapt expectedAlexander Bluhm
output in regress.
2018-07-11Regress update to match changes for chromeBob Beck