Skip to content

Commit

Permalink
trim whitespace vol 2
Browse files Browse the repository at this point in the history
Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.com>
  • Loading branch information
Sotiris Nanopoulos committed Nov 25, 2020
1 parent aa1b085 commit 7fb4251
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ if [[ "$OSTYPE" == "msys" ]]; then
done
SOCKET="127.0.0.1:${port}"
else
if [[ -z "${TEST_UDSDIR}" ]]; then
TEST_UDSDIR=$(mktemp -d /tmp/envoy_test_thrift.XXXXXX)
if [[ -z "${TEST_UDSDIR}" ]]; then
TEST_UDSDIR=$(mktemp -d /tmp/envoy_test_thrift.XXXXXX)
fi
SOCKET="${TEST_UDSDIR}/fixture.sock"
rm -f "${SOCKET}"
Expand Down Expand Up @@ -104,7 +104,7 @@ if [[ "$OSTYPE" == "msys" ]]; then
"${DRIVER_DIR}/server.exe" "${SERVICE_FLAGS[@]}" &
SERVER_PID="$!"
else
SERVICE_FLAGS+=("--unix")
SERVICE_FLAGS+=("--unix")
"${DRIVER_DIR}/server" "${SERVICE_FLAGS[@]}" &
SERVER_PID="$!"
while [[ ! -a "${SOCKET}" ]]; do
Expand All @@ -113,7 +113,7 @@ else
if ! kill -0 "${SERVER_PID}"; then
echo "server failed to start"
exit 1
fi
fi
done
fi

Expand Down

0 comments on commit 7fb4251

Please sign in to comment.