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
commit3bbff013bcfa15ca2d1250db14938c903a89a1c4 (patch)
treeb247df918127dddb71d90f7030ba1dad5bba19a2 /src/regress/lib/libssl/rust-openssl/config
parent30f3f65d88c5b79fc772f7e0c247a39a5be9b965 (diff)
downloadopenbsd-3bbff013bcfa15ca2d1250db14938c903a89a1c4.tar.gz
openbsd-3bbff013bcfa15ca2d1250db14938c903a89a1c4.tar.bz2
openbsd-3bbff013bcfa15ca2d1250db14938c903a89a1c4.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 '')
-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'