From d47824f4cf9ca74c5fda6896f4e93a3f5f1629d5 Mon Sep 17 00:00:00 2001 From: Robin McCorkell Date: Tue, 5 Apr 2016 07:30:17 +0100 Subject: [PATCH] Remove any stray socket files before creating new ones --- apps/files_external/tests/env/start-amazons3-ceph.sh | 1 + apps/files_external/tests/env/start-swift-ceph.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/apps/files_external/tests/env/start-amazons3-ceph.sh b/apps/files_external/tests/env/start-amazons3-ceph.sh index d36980fdd1..1aa14ac990 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 e884087c24..1e417c6905 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