summaryrefslogtreecommitdiff
path: root/regress/lib
AgeCommit message (Collapse)Author
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-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-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-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-16Add regress tests for fuse_opt_parse() and fuse_parse_cmdline()helg
ok mpi@
2017-11-16Disable the pthread_once subtest until the problem with samba portAlexander Bluhm
is resolved and libpthread can be fixed. discussed with guenther@
2017-11-03Tests of libexpat 2.2.5 also need source file structdata.c.Alexander Bluhm
2017-10-16Add regress test for cancellation of pthread_once()'s init_routinePhilip Guenther
From Scott Cheloha (scottcheloha (at) gmail.com)
2017-10-15Add a regression test for ldexp(3).Visa Hankala
2017-10-11Update regress now that ssl_cipher_list_to_bytes() takes a CBB.Joel Sing
Based on a diff from doug@
2017-10-10Revise regress now that ssl_bytes_to_cipher_list() takes a CBS.Joel Sing
2017-09-07Try both libpthread and RTLD_DEFAULT when looking up functionsPhilip Guenther
so the test can find everything after the libpthread->libc move
2017-08-29When parsing extensions by calling the parse functions directly, ensureJoel Sing
that we have consumed all of the extension data. This catches the ALPN extension handling issue that was just fixed.
2017-08-28Some style(9).Joel Sing
2017-08-28Remove chacha20-poly1305-old regress and test vectors.Joel Sing
2017-08-28Use current chacha20-poly1305 cipher suite values.Joel Sing
2017-08-28Update due to removal of original chacha20-poly1305 cipher suites.Joel Sing
2017-08-27Rewrite SRTP extension using CBB/CBS and the new extension framework.Doug Hogan
input + ok beck@, jsing@
2017-08-27check return value from CBB_initBob Beck
2017-08-26Rewrite ALPN extension using CBB/CBS and the new extension framework.Doug Hogan
ok bcook@ beck@ input + ok jsing@
2017-08-16test locale priorities and overridesIngo Schwarze
2017-08-16test isalpha_l(3), tolower_l(3), wctype_l(3), iswctype_l(3),Ingo Schwarze
wctrans_l(3), towctrans_l(3), wcscasecmp_l(3), wcsncasecmp_l(3), and strerror_l(3)
2017-08-16test nl_langinfo_l(3), iswalpha_l(3), towupper_l(3)Ingo Schwarze
2017-08-15refactor in preparation for testing more functions; no functional changeIngo Schwarze
2017-08-12Rewrite the TLS status request extension to use the new TLS extension framework.Bob Beck
ok jsing@
2017-08-12Add regress coverage for the TLS signature algorithms extension.Joel Sing
2017-08-12Rewrite session ticket TLS extension handling using CBB/CBS and the newDoug Hogan
extension framework. ok jsing@ beck@
2017-08-12Remove NPN test coverage.Joel Sing
2017-08-12errant whitespaceBob Beck
2017-08-12fix resource leaks, ok @guentherBrent Cook
2017-08-12Update the TLSv1.2 Client Hello messages, due to the removal of DSAJoel Sing
sigalgs.
2017-08-11Be consistent with goto labels, failure flag and use of FAIL macro.Joel Sing
2017-08-11doug@ added code in here as well.Joel Sing
2017-08-11Sort by extension/function name.Joel Sing
2017-08-11Rewrite EllipticCurves TLS extension handling using CBB/CBS and the newDoug Hogan
extension framework. input + ok jsing@
2017-08-11Rewrite the ECPointFormats TLS extension handling using CBB/CBS and theDoug Hogan
new extension framework. input + ok jsing@
2017-08-10first draft of tests for newlocale(3), duplocale(3), uselocale(3)Ingo Schwarze
2017-08-07Clang does not support -ffloat-store, so libm fenv test failed onAlexander Bluhm
i386. Gcc uses this option it to store x87 registers to memory. This reduces precision and enforces rounding which this test checks. The same effect can be achieved by using a volatile double variable for the result. This works for both compilers. OK kettenis@
2017-08-06use %Lf for printing long double; silences clang warningRobert Nagy
ok kettenis@
2017-07-29Remove unused function and variable to shut up warning. Put backAlexander Bluhm
a status print that was lost in previous.
2017-07-29repair regress for more aggressive post fork checking in library.Ted Unangst
we should not be checking that things explicitly forbidden work. prompted by bluhm
2017-07-27Sort subdir, run getaddrinfo test, remove vax case.Alexander Bluhm
2017-07-27Sort expected getaddrinfo output in inet4 inet6 order, then theAlexander Bluhm
test passes.
2017-07-27Fix all clang warnings in libc regress and cleanup some make files.Alexander Bluhm
2017-07-27Mark the invalid memory location as volatile, otherwise clang wouldAlexander Bluhm
optimize the access to it with an illegal instruction. But the tests needs a SIGSEGV, it would fail with SIGILL.
2017-07-24Extend the SNI tests to ensure that we have a hostname in the sessionJoel Sing
after a successful tlsext_sni_serverhello_parse() and that tlsext_sni_clienthello_parse() fails if we have an existing session and the SNI is mismatched.