summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
2016-07-07add ca cert error check and make the path configurableBrent Cook
from Kinichiro Inoguchi
2016-07-06Now libtls is always reading cert.pem during tls_config_new().Alexander Bluhm
Adapt ktrace count in syslogd test.
2016-07-05Some new tests related to bin/cat.c rev. 1.25,Ingo Schwarze
from Sevan Janiyan <venture37 at geeklan dot co dot uk>.
2016-07-05remove extra assignment of s from 1.11, fix regression testBrent Cook
2016-07-05On systems where we do not have BN_ULLONG defined (most 64-bit systems),Brent Cook
BN_mod_word() can return incorrect results if the supplied modulus is too big, so we need to fall back to BN_div_word. Now that BN_mod_word may fail, handle errors properly update the man page. Thanks to Brian Smith for pointing out these fixes from BoringSSL: https://boringssl.googlesource.com/boringssl/+/67cb49d045f04973ddba0f92fe8a8ad483c7da89 https://boringssl.googlesource.com/boringssl/+/44bedc348d9491e63c7ed1438db100a4b8a830be ok beck@
2016-07-05make less awful.. test against cloudflare tooBob Beck
2016-07-04Add a nasty little ocsp regress test in the hope pedants will make it better.Bob Beck
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-07-01Timing changed, now a syslogd test may get EPIPE instead ofAlexander Bluhm
ECONNREFUSED error.
2016-06-30Remove flags for disabling constant-time operations.Brent Cook
This removes support for DSA_FLAG_NO_EXP_CONSTTIME, DH_FLAG_NO_EXP_CONSTTIME, and RSA_FLAG_NO_CONSTTIME flags, making all of these operations unconditionally constant-time. Based on the original patch by César Pereid. ok beck@
2016-06-22Syslogd can send messages to a user, test what happens if theAlexander Bluhm
terminal is blocking to receive messages. Stop the fake user terminal and look for a delayed write debug message from syslogd. This makes the test more reliable.
2016-06-13Test that splicing loops are aborted with ELOOP.Alexander Bluhm
2016-06-07Replace (remaining) systrace policy files with columns of numbers forOkan Demirmen
the tab spacing regression test; from Ray Lai.
2016-06-07Adapt compat layers after recent changes: srp_swap() and the GC taskMartin Pieuchot
for ART.
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-06-01Add detailed error messages and restructure to make the individualIngo Schwarze
test functions shorter and easier to understand. The total number of lines remains unchanged.
2016-06-01Test history_get() return value;Ingo Schwarze
from Bastian Maerkisch <bmaerkisch at web dot de>.
2016-05-31Replace most of the tests based on systrace output; from Ray.Okan Demirmen
2016-05-31The argument of remove_history() only counts existing entries,Ingo Schwarze
not those that were previously deleted.
2016-05-31Style unification and whitespace cleanup, in part suggested byIngo Schwarze
Christian Heckendorf. No functional change.
2016-05-30Gix misleading indent pointed out by GCC 6.1.Brent Cook
ok beck@ jsing@
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-29Nuke sigret.cBob Beck
ok deraadt@ kettenis@
2016-05-29We don't have sigreturn anymoreBob Beck
2016-05-29When connecting to a non existing tcp listen socket on localhost,Alexander Bluhm
connect(2) does no longer fail immediately. It reports EINPROGRESS first, an ECONNREFUSED or EPIPE error follows later. Allow this changed behavior in syslogd(8) regression tests.
2016-05-28comment typosStuart Henderson
2016-05-26test the new utf8 moduleIngo Schwarze
2016-05-26tests for the two segfaults in backref() that were just fixedIngo Schwarze
2016-05-26Fix an oversight that caused the test program to segfault:Ingo Schwarze
Don't try to calculate strlen(NULL).
2016-05-26systematically test all combinations of REG_STARTEND, REG_NEWLINE,Ingo Schwarze
and REG_NOTBOL with line and word anchors
2016-05-26support for testing REG_STARTEND together with REG_NOTBOLIngo Schwarze
2016-05-25deal with the el_errno -> read_errno cleanup, read.c rev. 1.43Ingo 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-22cope with simplified chared/read interfaceIngo Schwarze
2016-05-22Fix tests: Restrict getpid() to lower 16 bit so that it can stillAlexander Bluhm
be used as packet id. Now scapy calls nexthopmtu with this name explicitly in icmp structure.
2016-05-13no more hppa64;Jason McIntyre
2016-05-11remove hppa64 port, which we never got going beyond broken single users.Theo de Raadt
hppa reverse-stack gives us a valuable test case, but most developers don't have a 2nd one to proceed further with this. ok kettenis
2016-05-10Enable the readline(3) regression test provided by Bastian Maerkisch,Ingo Schwarze
all bugs tested so far have been fixed.
2016-05-10adapt to recently changed internal interface of read_getcmd()Ingo Schwarze
2016-05-10In a signal handler use snprintf()+local buffer instead of asprintf+freePhilip Guenther
2016-05-10Test that various calls can be interrupted in a non-threaded process,Philip Guenther
then dlopen() libpthread and do that again in a second thread, and then verify that they're all correctly acting as cancellation points.
2016-05-06A few regression tests for libedit readline(3) compat code.Ingo Schwarze
Not linked to the build for now because these tests still fail for our libedit and because readline compat is not enabled in our build. Test suite written by Bastian Maerkisch <bmaerkisch@web.de>. KNF and some minor tweaks by me.
2016-05-03Fix some Perl statements perlcritic was bitching about: VariableAlexander Bluhm
declared in conditional statement.
2016-05-03Fix test after changing default column size from 60 to 80.Martijn van Duren
OK bentley@
2016-05-03To test syslogd compatibility rsyslog is used as remote server.Alexander Bluhm
New rsyslog has other options and debug output, adapt test.
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.