summaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests
diff options
context:
space:
mode:
authorRobin McCorkell <robin@mccorkell.me.uk>2016-04-05 07:30:17 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-04-05 09:17:21 +0200
commitd47824f4cf9ca74c5fda6896f4e93a3f5f1629d5 (patch)
treea40667d890f1112f46fdfc5afc91f071123d10a3 /apps/files_external/tests
parent808a25bc5d4f80d985bc458475b56ebd1b39e69f (diff)
downloadnextcloud-server-d47824f4cf9ca74c5fda6896f4e93a3f5f1629d5.tar.gz
nextcloud-server-d47824f4cf9ca74c5fda6896f4e93a3f5f1629d5.zip
Remove any stray socket files before creating new ones
Diffstat (limited to 'apps/files_external/tests')
-rwxr-xr-xapps/files_external/tests/env/start-amazons3-ceph.sh1
-rwxr-xr-xapps/files_external/tests/env/start-swift-ceph.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_external/tests/env/start-amazons3-ceph.sh b/apps/files_external/tests/env/start-amazons3-ceph.sh
index d36980fdd11..1aa14ac990d 100755
--- a/apps/files_external/tests/env/start-amazons3-ceph.sh
+++ b/apps/files_external/tests/env/start-amazons3-ceph.sh
@@ -33,6 +33,7 @@ fi;
# create readiness notification socket
notify_sock=$(readlink -f "$thisFolder"/dockerContainerCeph.$EXECUTOR_NUMBER.amazons3.sock)
+rm -f "$notify_sock" # in case an unfinished test left one behind
mkfifo "$notify_sock"
user=test
diff --git a/apps/files_external/tests/env/start-swift-ceph.sh b/apps/files_external/tests/env/start-swift-ceph.sh
index e884087c248..1e417c69057 100755
--- a/apps/files_external/tests/env/start-swift-ceph.sh
+++ b/apps/files_external/tests/env/start-swift-ceph.sh
@@ -33,6 +33,7 @@ fi;
# create readiness notification socket
notify_sock=$(readlink -f "$thisFolder"/dockerContainerCeph.$EXECUTOR_NUMBER.swift.sock)
+rm -f "$notify_sock" # in case an unfinished test left one behind
mkfifo "$notify_sock"
port=5001