diff options
author | janakr <janakr@google.com> | 2017-07-19 23:14:03 +0200 |
---|---|---|
committer | Klaus Aehlig <aehlig@google.com> | 2017-07-20 10:30:50 +0200 |
commit | a9b576c85244848165bfc92237699cba226aaf71 (patch) | |
tree | d504fd0d034416fa176973858c4284ede860559d /src/test/shell | |
parent | 80fa921cac81201c5840f98473af6b0c8d800548 (diff) |
Be more precise in which values we're looking for in the histogram: just GlobValue objects, not any others.
PiperOrigin-RevId: 162533962
Diffstat (limited to 'src/test/shell')
-rwxr-xr-x | src/test/shell/integration/discard_graph_edges_test.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/shell/integration/discard_graph_edges_test.sh b/src/test/shell/integration/discard_graph_edges_test.sh index fda963ad5c..141da3ed8f 100755 --- a/src/test/shell/integration/discard_graph_edges_test.sh +++ b/src/test/shell/integration/discard_graph_edges_test.sh @@ -177,7 +177,7 @@ function test_packages_cleared() { 'devtools\.build\.lib\..*\.Package$')" [[ "$package_count" -ge 9 ]] \ || fail "package count $package_count too low: did you move/rename the class?" - local glob_count="$(extract_histogram_count "$histo_file" "GlobValue")" + local glob_count="$(extract_histogram_count "$histo_file" "GlobValue$")" [[ "$glob_count" -ge 8 ]] \ || fail "glob count $glob_count too low: did you move/rename the class?" local env_count="$(extract_histogram_count "$histo_file" \ @@ -190,7 +190,7 @@ function test_packages_cleared() { # A few packages aren't cleared. [[ "$package_count" -le 8 ]] \ || fail "package count $package_count too high" - glob_count="$(extract_histogram_count "$histo_file" "GlobValue")" + glob_count="$(extract_histogram_count "$histo_file" "GlobValue$")" [[ "$glob_count" -le 1 ]] \ || fail "glob count $glob_count too high" env_count="$(extract_histogram_count "$histo_file" \ |