File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 3333
3434- Test passing invalid -proxy
3535- Test passing invalid -onion
36+ - Test passing invalid -i2psam
3637- Test passing -onlynet=onion without -proxy or -onion
3738- Test passing -onlynet=onion with -onion=0 and with -noonion
3839"""
@@ -321,6 +322,11 @@ def networks_dict(d):
321322 msg = "Error: Invalid -onion address or hostname: 'xyz:abc'"
322323 self .nodes [1 ].assert_start_raises_init_error (expected_msg = msg )
323324
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+
324330 msg = (
325331 "Error: Outbound connections restricted to Tor (-onlynet=onion) but "
326332 "the proxy for reaching the Tor network is not provided (no -proxy= "
You can’t perform that action at this time.
0 commit comments