| 1 |
#!/bin/sh |
| 2 |
|
| 3 |
# Copyright 2015 gRPC authors. |
| 4 |
# |
| 5 |
# Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 |
# you may not use this file except in compliance with the License. |
| 7 |
# You may obtain a copy of the License at |
| 8 |
# |
| 9 |
# http://www.apache.org/licenses/LICENSE-2.0 |
| 10 |
# |
| 11 |
# Unless required by applicable law or agreed to in writing, software |
| 12 |
# distributed under the License is distributed on an "AS IS" BASIS, |
| 13 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 |
# See the License for the specific language governing permissions and |
| 15 |
# limitations under the License. |
| 16 |
|
| 17 |
set -e |
| 18 |
|
| 19 |
export TEST=true |
| 20 |
|
| 21 |
cd "$(dirname "$0")/../../.." |
| 22 |
|
| 23 |
submodules=$(mktemp /tmp/submXXXXXX) |
| 24 |
want_submodules=$(mktemp /tmp/submXXXXXX) |
| 25 |
|
| 26 |
git submodule | awk '{ print $2 " " $1 }' | sort >"$submodules" |
| 27 |
cat <<EOF | sort >"$want_submodules" |
| 28 |
third_party/abseil-cpp 273292d1cfc0a94a65082ee350509af1d113344d |
| 29 |
third_party/benchmark 361e8d1cfe0c6c36d30b39f1b61302ece5507320 |
| 30 |
third_party/bloaty 60209eb1ccc34d5deefb002d1b7f37545204f7f2 |
| 31 |
third_party/boringssl-with-bazel b9232f9e27e5668bc0414879dcdedb2a59ea75f2 |
| 32 |
third_party/cares/cares 6654436a307a5a686b008c1d4c93b0085da6e6d8 |
| 33 |
third_party/envoy-api bf6154e482bbd5e6f64032993206e66b6116f2bd |
| 34 |
third_party/googleapis 2f9af297c84c55c8b871ba4495e01ade42476c92 |
| 35 |
third_party/googletest 0e402173c97aea7a00749e825b194bfede4f2e45 |
| 36 |
third_party/libuv 02a9e1be252b623ee032a3137c0b0c94afbe6809 |
| 37 |
third_party/opencensus-proto 4aa53e15cbf1a47bc9087e6cfdca214c1eea4e89 |
| 38 |
third_party/opentelemetry 60fa8754d890b5c55949a8c68dcfd7ab5c2395df |
| 39 |
third_party/protobuf 24487dd1045c7f3d64a21f38a3f0c06cc4cf2edb |
| 40 |
third_party/re2 8e08f47b11b413302749c0d8b17a1c94777495d5 |
| 41 |
third_party/xds cb28da3451f158a947dfc45090fe92b07b243bc1 |
| 42 |
third_party/zlib 04f42ceca40f73e2978b50e93806c2a18c1281fc |
| 43 |
EOF |
| 44 |
|
| 45 |
diff -u "$submodules" "$want_submodules" |
| 46 |
|
| 47 |
rm "$submodules" "$want_submodules" |