diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-10-08 15:58:14 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-10-17 12:01:40 -0400 |
commit | 763d955a17ba6c6c6e5487357c672b0cae3d607c (patch) | |
tree | f97506f98241ab652975601bece879aa07a959d3 /src/test/conf_examples | |
parent | 35c18870b420e0ce7037c834709ff6daffd70754 (diff) | |
download | tor-763d955a17ba6c6c6e5487357c672b0cae3d607c.tar.gz tor-763d955a17ba6c6c6e5487357c672b0cae3d607c.zip |
Add a test for a command-line option without a value.
Diffstat (limited to 'src/test/conf_examples')
-rw-r--r-- | src/test/conf_examples/missing_cl_arg/cmdline | 1 | ||||
-rw-r--r-- | src/test/conf_examples/missing_cl_arg/error | 1 | ||||
-rw-r--r-- | src/test/conf_examples/missing_cl_arg/torrc | 0 |
3 files changed, 2 insertions, 0 deletions
diff --git a/src/test/conf_examples/missing_cl_arg/cmdline b/src/test/conf_examples/missing_cl_arg/cmdline new file mode 100644 index 0000000000..7fc4d0a54d --- /dev/null +++ b/src/test/conf_examples/missing_cl_arg/cmdline @@ -0,0 +1 @@ +--hash-password diff --git a/src/test/conf_examples/missing_cl_arg/error b/src/test/conf_examples/missing_cl_arg/error new file mode 100644 index 0000000000..61dbeac8aa --- /dev/null +++ b/src/test/conf_examples/missing_cl_arg/error @@ -0,0 +1 @@ +Command-line option '--hash-password' with no value. diff --git a/src/test/conf_examples/missing_cl_arg/torrc b/src/test/conf_examples/missing_cl_arg/torrc new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/src/test/conf_examples/missing_cl_arg/torrc |