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 18set -e 19 20export TEST=true 21 22cd "$(dirname "$0")/../../.." 23 24submodules=$(mktemp /tmp/submXXXXXX) 25want_submodules=$(mktemp /tmp/submXXXXXX) 26 27git submodule | awk '{ print $1 }' | sort > "$submodules" 28cat << EOF | awk '{ print $1 }' | sort > "$want_submodules" 29 0f3bb466b868b523cf1dc9b2aaaed65c77b28862 third_party/abseil-cpp (heads/master) 30 090faecb454fbd6e6e17a75ef8146acb037118d4 third_party/benchmark (v1.5.0) 31 73594cde8c9a52a102c4341c244c833aa61b9c06 third_party/bloaty (remotes/origin/wide-14-g73594cd) 32 29c6e0e27268f5a43e039cd2ed4e849d6b736fc1 third_party/boringssl-with-bazel (remotes/origin/master-with-bazel) 33 e982924acee7f7313b4baa4ee5ec000c5e373c30 third_party/cares/cares (cares-1_15_0) 34 9997e1137cdb59e622af13e57ca915a2f3c9f84f third_party/envoy-api (heads/master) 35 80ed4d0bbf65d57cc267dfc63bd2584557f11f9b third_party/googleapis (common-protos-1_3_1-915-g80ed4d0bb) 36 c9ccac7cb7345901884aabf5d1a786cfa6e2f397 third_party/googletest (6e2f397) 37 15ae750151ac9341e5945eb38f8982d59fb99201 third_party/libuv (v1.34.0) 38 19fb89416f3fdc2d6668f3738f444885575285bc third_party/protobuf (v3.7.0-rc.2-1277-gfde7cf735) 39 e020f3aef8ae6cb59f384bfbaaed72e71e88ccd6 third_party/protoc-gen-validate (v0.4.1) 40 aecba11114cf1fac5497aeb844b6966106de3eb6 third_party/re2 (heads/master) 41 1f710aca26a95876e64973a6d2a927a9f4b20ca4 third_party/udpa (heads/master) 42 cacf7f1d4e3d44d871b605da3b647f07d718623f third_party/zlib (v1.2.11) 43EOF 44 45diff -u "$submodules" "$want_submodules" 46 47rm "$submodules" "$want_submodules" 48