From 5de8350e0b6d5d6e15d9dc2215cbff898d079169 Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Sun, 1 Dec 2019 10:55:03 -0500 Subject: [PATCH] functional_tests: Add basic samba tests Signed-off-by: James Valleroy --- functional_tests/features/samba.feature | 35 +++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 functional_tests/features/samba.feature diff --git a/functional_tests/features/samba.feature b/functional_tests/features/samba.feature new file mode 100644 index 000000000..d1b500171 --- /dev/null +++ b/functional_tests/features/samba.feature @@ -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 . +# + +@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 +