summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
2021-10-06GCC 4.2.1 does not support nullptr, use traditional NULL.Alexander Bluhm
Linker requires explicit libpthread.
2021-10-06use libc SHA256 functions; make this work when compiled !WITH_OPENSSLDamien Miller
2021-10-05add missing sudoAnton Lindqvist
2021-10-05fix stderr redirectAnton Lindqvist
2021-10-05add missing sudo and handle argumentsAnton Lindqvist
2021-10-05Add BGPsec router certificate to rpki-client regressJob Snijders
2021-10-05add missing sudoAnton Lindqvist
2021-10-05add missing sudoAnton Lindqvist
2021-10-05build prog onceAnton Lindqvist
2021-10-05stop masking test-http.c failuresAnton Lindqvist
2021-10-03Unbreak btrace(8) regress, adding missing files.Dave Voutila
2021-10-03bt(5)/btrace(8): add support for str()Dave Voutila
Implement initial support for the str() function, which is used primarily to truncate or NUL-terminate strings from either cli args or args to tracepoints and syscalls. Current implementation only supports cli args and is primarily for compatability with bpftrace. Future work is needed once dt(4) supports builtin args other than long values. Adds a regress test and wires in argument-based tests again. ok mpi@
2021-10-03Extend filesystem tests to test mfs and tmpfs. Hook up mfs but leave tmpfsClaudio Jeker
out for now since it is not enabled by default. mfs reports the same errors as ffs (no real surprise), tmpfs has a few different errors. OK bluhm@
2021-10-02quote sudoAnton Lindqvist
2021-10-02add missing sudoAnton Lindqvist
2021-10-02hook up btraceAnton Lindqvist
2021-10-01Add test for ssh hashed known_hosts handling.Darren Tucker
2021-09-30Mark another test as failing with the legacy verifier.Joel Sing
This test now fails with the legacy verifier, due to X509_V_FLAG_TRUSTED_FIRST being enabled by default.
2021-09-30Quote SUDO value during propagation, allowing `doas -n' to be correctlyAnton Lindqvist
honored which I use while running regress. The same principle is already applied to the PYTHON variable here.
2021-09-30Fix up whitespace left by previous change removing privsep. No otherDarren Tucker
changes.
2021-09-30Remove (almost all) references to privsep. This removes several do..whileDarren Tucker
loops but does not change the indentation of the now-shallower loops, which will be done in a separate whitespace-only commit to keep changes of style and substance separate.
2021-09-30Use "skip" instead of "fatal" if SUDO isn't set for the *-command tests.Darren Tucker
This means running "make tests" without SUDO set will perform all of the tests that it can instead of failing on the ones it cannot run.
2021-09-29Test certificate hostkeys held in ssh-agent too. Would have caughtDamien Miller
regression fixed in sshd r1.575 ok markus@
2021-09-28testcase for the avahi/avahi-lib/avahi-glib/cups updateMarc Espie
2021-09-28Turns out that older SPARC CPUs (like the UltraSPARC II) do report an exactMark Kettenis
fault address, while others (like the UltraSPARC T2) report an inexact address. Deal with this by using the EXPADDR_MASK on both the expected and the reported fault address. ok bluhm@
2021-09-28Use -Wl,-z,wxneeded instead of -z wxneeded such that this builds with baseMark Kettenis
gcc. ok patrick@, millert@, jca@
2021-09-28add missing sudoAnton Lindqvist
2021-09-28Remove recent changes used to unblock the signal undergoing testing, I solved itAnton Lindqvist
by changing my regress environment instead. This reduces the delta to the NetBSD upstream.
2021-09-27Mark "failures" volatile to avoid a problem with sigsetjmp/siglongjmp.Todd C. Miller
This makes the test pass on sparc64 where the compiler may otherwise store the variable in the strlcpy/strlcat function's delay slot. OK kettenis@
2021-09-27These tests pass in a few seconds. Remove REGRESS_SLOW_TARGETS.Alexander Bluhm
2021-09-27Bring this regress into nicer shape. Add all recent architectures.Alexander Bluhm
For me it is still unclear what should actually be tested. It runs MAKEDEV, stores the result into an outfile and checks nothing.
2021-09-27Return 0 from main() otherwise the exit code is garbage on sparc64.Alexander Bluhm
Collect status of the child process to detect test failures. OK tb@
2021-09-27Make t_gettimeofday pass on sparc64.mbuhl
OK bluhm@
2021-09-24Simplify runAesCmacTest() by using EVP_DigestSign().Theo Buehler
2021-09-20Use proper sigsuspend() instead of old pause() and use sigprocmask() toClaudio Jeker
block delivery of signals outside of sigsuspend(). With this the test is more reliable. pause() is implemented as two syscalls and so it is possible to catch a signal on the first syscall and than be stuck on the second waiting for something that already happened. OK millert@ deraadt@ bluhm@
2021-09-20Fix appstest.sh for testing with OpenSSL 3.0Kinichiro Inoguchi
- Fix 'Server Temp Key' check to work with both words "P-384" and "secp384r1". - Test TLSv1 and TLSv1.1 only if OpenSSL version is 1.x.
2021-09-19At least t_fork and t_vfork tests need coredumps enabled to succeed.Claudio Jeker
Add ulimit -c unlimited before running the tests like it is done in other places in regress. OK bluhm@
2021-09-17add missing sudoAnton Lindqvist
2021-09-16various improvements:Anton Lindqvist
* use SUDO when needed * favor paths relative to the btrace regress directory in the expected output files, prevents one from being forced to checkout the src tree at /usr/src in order to make the tests pass
2021-09-14Fix regression test, prodded by bluhm@Martin Pieuchot
2021-09-12annotate root only targets; ok bluhm@Anton Lindqvist
2021-09-12hook up libagentx; ok martijn@Anton Lindqvist
2021-09-09add test for printing empty argumentsJasper Lievisse Adriaanse
ok mpi@
2021-09-09add hist() tests similar to mapempty.btJasper Lievisse Adriaanse
ok mpi@
2021-09-09Ensure that the kill signal undergoing testing is not ignored.Anton Lindqvist
ok bluhm@
2021-09-09Rework openssl-ruby-tests to run all passing tests first, thenTheo Buehler
run the one failing test as a separate regress test. This way, all regressions should be caught with REGRESS_FAIL_EARLY=yes or on bluhm's regress webpage. This needs an up-to-date openssl-ruby-tests package and an upcoming commit by beck in x509_verify.c to work. ok beck bluhm
2021-09-09zap trailing whitespaceTheo Buehler
2021-09-09zap trailing whitespaceTheo Buehler
2021-09-09Do not abuse the "cleandir" target to delete part of the test output.Ingo Schwarze
According to /usr/share/mk/bsd.README, that target is only intended to delete tags files, and there are no tags files here. Instead, make sure the "clean" target does not leave any test output behind. Issue reported and patch OK'ed by bluhm@.
2021-09-09Hook test for command line arguments support.Martin Pieuchot