summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
2018-04-19Add gif subdir.Alexander Bluhm
2018-04-19Create two gif(4) interfaces in different routing domains. TestAlexander Bluhm
encapsulating IPv4 and IPv6 packets in IPv4 and IPv6 gif tunnels.
2018-04-16Add regression test of unlinking and re-creating a pledgepathed fileBob Beck
2018-04-14Make ENGINE_free() succeed on NULL. Matches OpenSSL's behavior andTheo Buehler
simplifies the caller side. tested by & ok inoguchi; discussed with schwarze
2018-04-13Add a test for stack pivots that trigger page faults.mortimer
"Regress is always open for commits" @deraadt
2018-04-12Disable counting TCP packets in the test as it does not work reliably.Alexander Bluhm
The sequence of packets and combination of flags depends on timing.
2018-04-11Fix a race in the syslogd test. It did not wait long enough forAlexander Bluhm
syslogd to shutdown. So the test could miss some log messages.
2018-04-11The pledge flag for file descriptors opened from /dev/fd was alwaysAlexander Bluhm
set for pledged processes. dup(2) uses the flag from the old file descriptor. Make open /dev/fd consistent to duplicate and inherit the flag. OK deraadt@
2018-04-10Check that a file descriptor's plegde flag is correctly propagated.Alexander Bluhm
The test covers the system calls dup, dup2, dup3, open /dev/fd, and file descriptor passing. The fstat(1) output is analysed.
2018-04-10Add subdir filedescriptor.Alexander Bluhm
2018-04-10Check that a file descriptor's plegde flag is correctly propagated.Alexander Bluhm
The test covers the system calls dup, dup2, dup3, open /dev/fd, and file descriptor passing. The fstat(1) output is analysed.
2018-04-10tweak usage()Theo Buehler
2018-04-10Two new low-level roff(7) features:Ingo Schwarze
* .nr optional third argument (auto-increment step size) * \n+ and \n- numerical register auto-increment and -decrement bentley@ reported on Dec 9, 2013 that lang/sbcl(1) uses these.
2018-04-10more typos spotted by Karsten Weiss using codespellDamien Miller
2018-04-10make this a bit more portable-friendlyDamien Miller
2018-04-09When accessing an undefined number register, define it to be zero, likeIngo Schwarze
the previous commit for strings and macros, only technically simpler. Desired behaviour also mentioned by Werner Lemberg in 2011. This diff adds functionality but is -21 +19 LOC. :-)
2018-04-09Support 64 bit integers on 32 bit architectures.Tobias Stoeckmann
No binary change on amd64 and there should be no differences on any other 64 bit architecture either (because long = int64_t). ok cheloha, tb
2018-04-09Using an undefined string or macro will cause it to be defined as empty.Ingo Schwarze
Observed by Werner Lemberg on Nov 14, 2011 and rotting on my TODO list ever since.
2018-04-09Add regress test for stack pivot mitigationmortimer
ok @deraadt
2018-04-07Revise regress to match tls_keypair_clear() removal.Joel Sing
2018-04-07test X509_NAME_add_entry_by_txt(3); feedback and OK jsing@Ingo Schwarze
2018-04-06Add test for username options parsing order, prompted by bz#2849.Darren Tucker
2018-04-02Support integers of arbitrary length.Tobias Stoeckmann
Previously it was possible to overflow integers while parsing. With this diff, we support any kind of POSIX-compatible integers for comparisons. with input by and ok schwarze, ok tb
2018-04-01Fix .CURDIR to run with obj directory.Alexander Bluhm
Avoid useless sub shell in make command. Be more verbose as such tests are easier to debug. Use absolute path by default to see which apply is tested.
2018-03-31a few more edge case tests, aiming for complete coverageIngo Schwarze
2018-03-31Fix overflows while handling 64 bit integers.Tobias Stoeckmann
Based on FreeBSD's expr and NetBSD's old regression test suite. with input by and ok schwarze
2018-03-30Fix overflow in list value parsing.Tobias Stoeckmann
On 64 bit systems an integer overflow between strtol and int casting could occur, resulting in out of boundary writes. Using strtonum fixes this issue and leads to better error messages. ok schwarze
2018-03-29Fix three bugs in setlocale(3):Ingo Schwarze
1. setlocale(LC_ALL, "A"); setlocale(LC_CTYPE, "T"); setlocale(LC_ALL, NULL); must return "A/T/A/A/A/A", not "A". Fix this by always initializing the LC_ALL entry of newgl to "" in dupgl(). Reported by Karl Williamson <public at khwilliamson dot com> on bugs@, thanks! 2. Do not leak newgl when strdup(3) fails in setlocale(3). 3. For setlocale(LC_ALL, "C/C/fr_FR.UTF-8/C/C/C"); correctly set _GlobalRuneLocale; i found 2. and 3. while looking at the code. Feedback on a buggy earlier version and OK martijn@.
2018-03-27Link apply into regress build.Tobias Stoeckmann
2018-03-27Fix possibly wrong execution of commands and out of boundary write withTobias Stoeckmann
unusual input. Correction and regression tests based on FreeBSD bin/95079. While at it, fix another segmentation fault when using ' ' as magic character and also disallow '\0' as magic character. This cannot make any sense and avoids a theoretical out of boundary read. ok tb@
2018-03-22The iked(8) fuzzer did not fuzz encrypted payloads. With that changedPatrick Wildt
the regression test uncovered code paths in the TS and CP payload parser that can trigger access to invalid memory locations. This changes the TS and CP payload parsing to add additional length checks. With hshoexer@ and markus@; OK sthen@
2018-03-19Remove the now unnecessary tls_init() call.Joel Sing
2018-03-19Add regress test ensuring autoinit stays pledge("stdio") safe.Bob Beck
2018-03-19Add a -q (for quick) mode to apptest.sh, and use it by default.Bob Beck
this means that running the regression test doesn't take forever because we run a huge dhparam test and openssl speed tests. ok inoguchi@
2018-03-16Tell puttygen to use /dev/urandom instead of /dev/random. On OpenBSD theyDarren Tucker
are both non-blocking, but on many other -portable platforms it blocks, stalling tests.
2018-03-15Fix a format string issue that Go 1.10 complains about.Joel Sing
2018-03-15Provide SSL_CTX_get_min_proto_version and SSL_CTX_get_max_proto_versionJeremie Courreges-Anglas
We already provided the setters, so also provide the getters like OpenSSL does. Addition prompted by the use of those functions in recent openvpn releases. manpage diff from schwarze@ (thanks!) with input from jsing@, ok tb@ jsing@
2018-03-14rename recently-added "valid-before" key restriction to "expiry-time"Damien Miller
as the former is confusing wrt similar terminology in X.509; pointed out by jsing@
2018-03-12check valid-before option in authorized_keysDamien Miller
2018-03-12explicitly specify RSA/SHA-2 keytype here tooDamien Miller
2018-03-12exlicitly include RSA/SHA-2 keytypes in PubkeyAcceptedKeyTypes hereDamien Miller
2018-03-10Implement sicos(3), sincosf(3) and sincosl(3). These functions are commonMark Kettenis
extensions and modern compilers (such as clang) will use them to optimize separate calculations of sine and cosine. ok tom@, patrick@, deraadt@, jmc@
2018-03-07claudio@ added an Adj-RIB-Out, so add it to the regression testsPeter Hessler
reminded by bluhm@
2018-03-04for the pty control tests, just check that the PTY path points toDamien Miller
something in /dev (rather than checking the device node itself); makes life easier for portable, where systems with dynamic ptys can delete nodes before we get around to testing their existence.
2018-03-03unit tests for new authorized_keys options APIDamien Miller
2018-03-02fix testing of pty option, include positive test and testing ofDamien Miller
restrict keyword
2018-03-02better testing for port-forwarding and restrict flags inDamien Miller
authorized_keys
2018-02-27There were more now useless -S in the process accounting test.Alexander Bluhm
2018-02-27Do not expect an eui64 link-local source address during duplicateAlexander Bluhm
address detection. The remote side may have soii, so match ICMP6 packets from any fe80::/64 address.
2018-02-27The error handling of invalid certificate files has changed inAlexander Bluhm
libtls. Adjust test.