functional_tests: Add basic samba tests

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
James Valleroy 2019-12-01 10:55:03 -05:00
parent 64e433ae12
commit 5de8350e0b
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -0,0 +1,35 @@
#
# This file is part of FreedomBox.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
@apps @samba
Feature: Samba File Sharing
Configure samba file sharing service.
Background:
Given I'm a logged in user
Given the samba application is installed
Scenario: Enable samba application
Given the samba application is disabled
When I enable the samba application
Then the samba service should be running
Scenario: Disable samba application
Given the samba application is enabled
When I disable the samba application
Then the samba service should not be running