diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-11-06 11:19:27 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-11-07 07:28:43 -0500 |
commit | c550990400cbab450eaead69f6dd5261b89b484f (patch) | |
tree | d551d201a1477960475be87d67ddf682f865545c /src/test/conf_examples | |
parent | 32a2f96f82eaadafd4faf2c6184093e441661a4e (diff) | |
download | tor-c550990400cbab450eaead69f6dd5261b89b484f.tar.gz tor-c550990400cbab450eaead69f6dd5261b89b484f.zip |
Add a test for 32406 (AccelName with "!").
This also lets us test a failing set_options().
Diffstat (limited to 'src/test/conf_examples')
-rw-r--r-- | src/test/conf_examples/crypto_accel_req/error | 1 | ||||
-rw-r--r-- | src/test/conf_examples/crypto_accel_req/expected_nss | 2 | ||||
-rw-r--r-- | src/test/conf_examples/crypto_accel_req/torrc | 3 |
3 files changed, 6 insertions, 0 deletions
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 0000000000..7fab0c8dad --- /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 0000000000..f3e172f640 --- /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 0000000000..981d9116fc --- /dev/null +++ b/src/test/conf_examples/crypto_accel_req/torrc @@ -0,0 +1,3 @@ + +AccelName !nonexistent_chartreuse_accelerator +HardwareAccel 1 |