| Index: third_party/grpc/tools/run_tests/build_node.sh
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/websocket/echo-path_wsh.py b/third_party/grpc/tools/run_tests/build_node.sh
|
| old mode 100644
|
| new mode 100755
|
| similarity index 85%
|
| copy from third_party/WebKit/LayoutTests/http/tests/websocket/echo-path_wsh.py
|
| copy to third_party/grpc/tools/run_tests/build_node.sh
|
| index 6072a28e6c821bdf301d4c1cf7e2c50c2cebdeef..cbe0e31d2eb9e8070cf3a8cff5e25eef45ee1f49
|
| --- a/third_party/WebKit/LayoutTests/http/tests/websocket/echo-path_wsh.py
|
| +++ b/third_party/grpc/tools/run_tests/build_node.sh
|
| @@ -1,4 +1,7 @@
|
| -# Copyright (C) 2013 Google Inc. All rights reserved.
|
| +#!/bin/bash
|
| +
|
| +# Copyright 2015-2016, Google Inc.
|
| +# All rights reserved.
|
| #
|
| # Redistribution and use in source and binary forms, with or without
|
| # modification, are permitted provided that the following conditions are
|
| @@ -26,13 +29,15 @@
|
| # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| +NODE_VERSION=$1
|
| +source ~/.nvm/nvm.sh
|
|
|
| -from mod_pywebsocket import common, msgutil
|
| -
|
| +nvm use $NODE_VERSION
|
| +set -ex
|
|
|
| -def web_socket_do_extra_handshake(request):
|
| - pass
|
| +CONFIG=${CONFIG:-opt}
|
|
|
| +# change to grpc repo root
|
| +cd $(dirname $0)/../..
|
|
|
| -def web_socket_transfer_data(request):
|
| - msgutil.send_message(request, request.uri)
|
| +npm install --unsafe-perm --build-from-source
|
|
|