diff options
Diffstat (limited to 'apps/files_external/tests/env/stop-smb-linux.sh')
-rwxr-xr-x | apps/files_external/tests/env/stop-smb-linux.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/apps/files_external/tests/env/stop-smb-linux.sh b/apps/files_external/tests/env/stop-smb-linux.sh new file mode 100755 index 00000000000..dd9e78d2811 --- /dev/null +++ b/apps/files_external/tests/env/stop-smb-linux.sh @@ -0,0 +1,19 @@ +#!/usr/bin/env bash +# +# SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: AGPL-3.0-or-later +# +# This script stops the docker container the files_external tests were run +# against. It will also revert the config changes done in start step. +# + +# retrieve current folder to remove the config from the parent folder +thisFolder=`echo $0 | sed 's#env/stop-smb-linux\.sh##'` + +if [ -z "$thisFolder" ]; then + thisFolder="." +fi; + +# cleanup +rm $thisFolder/config.smb.php + |