Commit 77efd36 1 parent fb1416f commit 77efd36 Copy full SHA for 77efd36
File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 33
33
34
34
- Test passing invalid -proxy
35
35
- Test passing invalid -onion
36
+ - Test passing invalid -i2psam
36
37
- Test passing -onlynet=onion without -proxy or -onion
37
38
- Test passing -onlynet=onion with -onion=0 and with -noonion
38
39
"""
@@ -321,6 +322,11 @@ def networks_dict(d):
321
322
msg = "Error: Invalid -onion address or hostname: 'xyz:abc'"
322
323
self .nodes [1 ].assert_start_raises_init_error (expected_msg = msg )
323
324
325
+ self .log .info ("Test passing invalid -i2psam raises expected init error" )
326
+ self .nodes [1 ].extra_args = ["-i2psam=def:xyz" ]
327
+ msg = "Error: Invalid -i2psam address or hostname: 'def:xyz'"
328
+ self .nodes [1 ].assert_start_raises_init_error (expected_msg = msg )
329
+
324
330
msg = (
325
331
"Error: Outbound connections restricted to Tor (-onlynet=onion) but "
326
332
"the proxy for reaching the Tor network is not provided (no -proxy= "
You can’t perform that action at this time.
0 commit comments