summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
2017-12-28Initialise new_cipher in the serverhello TLS extensions test, to avoid aJoel Sing
NULL pointer dereference in ssl_using_ecc_cipher(). Some compilers avoid triggering this, likely due to the EC formats list also being NULL. While here, setup the EC formats list so that we actually include the EC points format extension in the server hello extensions. Found the hard way by bcook@
2017-12-26As the divert-to pf state is not connected, it is not linked to theAlexander Bluhm
incpb and so not removed when the socket is closed. Packets matching reply and reply-to states are linked to the sockets immediately. So these states must go away when the socket is closed. Check this with the output of "pfctl -s states" after running the Perl scripts.
2017-12-21Add some comments what the tests are doing.Alexander Bluhm
2017-12-21another libssh casualtyDamien Miller
2017-12-21missed one (unbreak after ssh/lib removal)Damien Miller
2017-12-21unbreak unit tests after removal of src/usr.bin/ssh/libDamien Miller
2017-12-20Skip this regress test if no remote test machine is specified asAlexander Bluhm
environment variable.
2017-12-19explicitly test all key types and their certificate counterpartsDamien Miller
refactor a little
2017-12-18Add tests for the environment related commands in csh. While here, print aanton
descriptive header before each test, inspired by the many others in regress.
2017-12-18When setting KTRACE in the environment, client and server writeAlexander Bluhm
ktrace files. This simplifies debugging as system calls can be inspected with kdump.
2017-12-16hookup execpromiseFlorian Obser
2017-12-16execpromise regressFlorian Obser
2017-12-15replace a hardcoded jot with ${JOT}Theo Buehler
2017-12-15The pledge(2) regress tests fail since the second parameter hasAlexander Bluhm
been converted from paths to execpromises. Remove the test fragments for the non-existing paths feature. OK semarie@ florian@
2017-12-15enable the 'wDn' test now that jot has been fixed.Theo Buehler
2017-12-13If the list of templates 'o' passed to fuse_opt_parse(3) is NULL thenhelg
the processing function should be called in the same way as if no match was found. ok mpi@
2017-12-12Fix pfloadanchors tests when running with obj directory.Alexander Bluhm
Remove unused file.
2017-12-11sscanf(3) is now used to parse templates that contain format specifiershelg
(e.g. %u, %o) other than %s. This aligns libfuse with the Linux reference implementation. ok mpi@
2017-12-11The fuse_opt_match(3) library function does not match options correctly.helg
libfuse supports option templates of the following form that can be used to automatically parse arguments supplied on the command line. "-p " argument that takes an option e.g -p 22 or -p22 "-p %x" argument that takes an option parsed like sscanf(3) "cache=yes" matches -ocache=yes or -o cache=yes "cache=%s" matches -ocache=<string> or -o cache=<string> "cache=" matches same as above but value is passed to option proc "noatime" matches -onoatime or -o atime For example, it does not match options of the form "-p 22" or "cache=yes" to the corresponding templates "-p " and "cache=yes". This patch fixes that and updates the regression tests accordingly. ok mpi@
2017-12-11use cmp in a loop instead of diff -N to compare directories. The formerDarren Tucker
works on more platforms for Portable.
2017-12-11Sergey Bronnikov's code coverage analysis shows that a few more code pathsTheo Buehler
could be exercised. Add a few tests to do just that. The wDn test is currently disabled, as it will only pass after a commit to jot.c.
2017-12-09Add a regress test for tls_config_parse_protocols().Joel Sing
2017-12-09Use a test value that fits into a long on both 32-bit and 64-bitJoel Sing
architectures, so that the regress passes on both.
2017-12-05adjust for warning: warning repairsTheo de Raadt
2017-12-02Adapt to change in 0ZOtto Moerbeek
2017-12-01and enable new testOtto Moerbeek
2017-12-01extra tests for Z (upcoming implementation change)Otto Moerbeek
2017-11-30Add regress to ensure that execve bypasses pledgepath checks (for now)Bob Beck
2017-11-29zap untrue comment (since bcode.c 1.43)Otto Moerbeek
2017-11-29fix decl of mainOtto Moerbeek
2017-11-29Test invalid divert combinations and adapt error messages.Alexander Bluhm
2017-11-29- regression tests for 'load anchor ... from ...'Alexandr Nedvedicky
the test case itself comes from Leonardo Guardati
2017-11-28Add regress coverage for ASN1_TYPE_{get,set}_int_octetstring()Joel Sing
2017-11-28Add regress test coverage for building clienthello and serverhelloJoel Sing
extensions, both with extensions being present and not present. The not present case currently fails.
2017-11-28Add regress for CBB_discard_child().Joel Sing
Converted from BoringSSL.
2017-11-28copyrightBob Beck
2017-11-27decriptor relative openat() and chmodBob Beck
2017-11-27readlink and friendsBob Beck
2017-11-27symlink and a couple more...Bob Beck
2017-11-27access and chflagsBob Beck
2017-11-27Add the start of regression tests for upcoming pledgepath stuff.Bob Beck
still some more to add, and we won't link into regress until later ok deraadt@
2017-11-27lenght->length, mostly in commentsStuart Henderson
2017-11-24Use the environment variable PFCTL to specify a different executableAlexander Bluhm
for testing. Default is /sbin/pfctl. This makes test driven development easier.
2017-11-24Do not run sysctl and pfctl by != during make clean and make obj.Alexander Bluhm
requested by miod@
2017-11-21Add tests for emacs editing mode in ksh. While here, improve the output on testanton
failure.
2017-11-21Do not exit 0 if the program was terminated due to receipt of a signal otheranton
than SIGHUP.
2017-11-20Skip the test and print a warning if pf does not process packetsAlexander Bluhm
on additional loopback devices.
2017-11-20Now pledge("inet") allows socket option IPV6_V6ONLY. Adapt test.Alexander Bluhm
2017-11-17Let packets jump between routing domains until the ttl is used up.Alexander Bluhm
Use tcpdump to check that the ttl decrements to one.
2017-11-17Link loopback test to build.Alexander Bluhm