mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
tor: Add functional tests for relays and hidden services
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
946011492f
commit
6dd7823c9e
4 files changed
+159
-8
No files matched your search
@@ -15,7 +15,7 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
@apps @tor
|
||||
@apps @tor-app @backups
|
||||
Feature: Tor Anonymity Network
|
||||
Manage Tor configuration.
|
||||
|
||||
@@ -28,6 +28,30 @@ Scenario: Enable tor application
|
||||
When I enable the tor application
|
||||
Then the tor service should be running
|
||||
|
||||
Scenario: Set tor relay configuration
|
||||
Given tor relay is disabled
|
||||
When I enable tor relay
|
||||
Then tor relay should be enabled
|
||||
And tor orport port should be displayed
|
||||
|
||||
Scenario: Set tor bridge relay configuration
|
||||
Given tor bridge relay is disabled
|
||||
When I enable tor bridge relay
|
||||
Then tor bridge relay should be enabled
|
||||
And tor obfs3 port should be displayed
|
||||
And tor obfs4 port should be displayed
|
||||
|
||||
Scenario: Set tor hidden services configuration
|
||||
Given tor hidden services are disabled
|
||||
When I enable tor hidden services
|
||||
Then tor hidden services should be enabled
|
||||
And tor hidden services information should be displayed
|
||||
|
||||
Scenario: Set download software packages over tor
|
||||
Given download software packages over tor is disabled
|
||||
When I enable download software packages over tor
|
||||
Then download software packages over tor should be enabled
|
||||
|
||||
Scenario: Disable tor application
|
||||
Given the tor application is enabled
|
||||
When I disable the tor application
|
||||
|
||||
Reference in new issue
Block a user