[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Add a test for 32406 (AccelName with "!").
commit c550990400cbab450eaead69f6dd5261b89b484f
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Wed Nov 6 11:19:27 2019 -0500
Add a test for 32406 (AccelName with "!").
This also lets us test a failing set_options().
---
src/test/conf_examples/crypto_accel_req/error | 1 +
src/test/conf_examples/crypto_accel_req/expected_nss | 2 ++
src/test/conf_examples/crypto_accel_req/torrc | 3 +++
3 files changed, 6 insertions(+)
diff --git a/src/test/conf_examples/crypto_accel_req/error b/src/test/conf_examples/crypto_accel_req/error
new file mode 100644
index 000000000..7fab0c8da
--- /dev/null
+++ b/src/test/conf_examples/crypto_accel_req/error
@@ -0,0 +1 @@
+Unable to load dynamic OpenSSL engine "nonexistent_chartreuse_accelerator"
diff --git a/src/test/conf_examples/crypto_accel_req/expected_nss b/src/test/conf_examples/crypto_accel_req/expected_nss
new file mode 100644
index 000000000..f3e172f64
--- /dev/null
+++ b/src/test/conf_examples/crypto_accel_req/expected_nss
@@ -0,0 +1,2 @@
+AccelName !nonexistent_chartreuse_accelerator
+HardwareAccel 1
diff --git a/src/test/conf_examples/crypto_accel_req/torrc b/src/test/conf_examples/crypto_accel_req/torrc
new file mode 100644
index 000000000..981d9116f
--- /dev/null
+++ b/src/test/conf_examples/crypto_accel_req/torrc
@@ -0,0 +1,3 @@
+
+AccelName !nonexistent_chartreuse_accelerator
+HardwareAccel 1
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits