summaryrefslogtreecommitdiff
path: root/src/regress/lib/libssl/rust-openssl/config
diff options
context:
space:
mode:
authortb <>2022-10-20 07:33:14 +0000
committertb <>2022-10-20 07:33:14 +0000
commit6ef02c2707dc554983552781e5b767ae8103de15 (patch)
treeb247df918127dddb71d90f7030ba1dad5bba19a2 /src/regress/lib/libssl/rust-openssl/config
parent3daa6137ebbb54877916ab760ed8716f17551850 (diff)
downloadopenbsd-6ef02c2707dc554983552781e5b767ae8103de15.tar.gz
openbsd-6ef02c2707dc554983552781e5b767ae8103de15.tar.bz2
openbsd-6ef02c2707dc554983552781e5b767ae8103de15.zip
Provide a harness driving rust-openssl's regress tests
rust-openssl is an integral part of the Rust ecosystem and more than a dozen ports, including lang/rust itself, depend on it. We need to ensure that it keeps working with LibreSSL. If the rust and rust-openssl-tests packages are installed, create a cargo workspace under obj/ that compiles and runs the rust-openssl regress tests much like what is done for the openssl-ruby tests. This expands our regress coverage: for instance, this would have caught the broken ASN.1 indefinite length encoding caused by asn1/tasn_enc.c r1.25. Positive feedback beck jsing semarie Testing and ok anton
Diffstat (limited to 'src/regress/lib/libssl/rust-openssl/config')
-rw-r--r--src/regress/lib/libssl/rust-openssl/config6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/regress/lib/libssl/rust-openssl/config b/src/regress/lib/libssl/rust-openssl/config
new file mode 100644
index 0000000000..a47474744d
--- /dev/null
+++ b/src/regress/lib/libssl/rust-openssl/config
@@ -0,0 +1,6 @@
1[net]
2 offline = true
3[source.modcargo]
4 directory = '/usr/local/share/rust-openssl-tests/modcargo-crates'
5[source.crates-io]
6 replace-with = 'modcargo'