syncthing: Add backup/restore support

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2019-01-26 21:30:29 -05:00
1 parent 983f4d13e8
commit 529c281734
5 files changed
+172 -12

No files matched your search

+22 -1
View File
@@ -15,7 +15,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
@apps @syncthing @sso
@apps @syncthing @sso @backups
Feature: Syncthing File Synchronization
Run Syncthing File Synchronization server.
@@ -28,6 +28,27 @@ Scenario: Enable syncthing application
When I enable the syncthing application
Then the syncthing service should be running
Scenario: Add a syncthing folder
Given the syncthing application is enabled
And syncthing folder Test is not present
When I add a folder /tmp as syncthing folder Test
Then syncthing folder Test should be present
Scenario: Remove a syncthing folder
Given the syncthing application is enabled
And folder /tmp is present as syncthing folder Test
When I remove syncthing folder Test
Then syncthing folder Test should not be present
Scenario: Backup and restore syncthing
Given the syncthing application is enabled
And syncthing folder Test is not present
When I add a folder /tmp as syncthing folder Test
And I create a backup of the syncthing app data
And I remove syncthing folder Test
And I restore the syncthing app data backup
Then syncthing folder Test should be present
Scenario: Disable syncthing application
Given the syncthing application is enabled
When I disable the syncthing application