diff options
author | Changming Sun <chasun@microsoft.com> | 2017-11-20 05:34:25 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2017-11-20 05:35:49 -0800 |
commit | d0bf589f2716b3d139c210930371a684c6e158eb (patch) | |
tree | c16cac088ce5923b7210de9c14c17932beec0150 /src/test/shell | |
parent | c8be465869fbcfaa00b75d241c67279324976e0b (diff) |
Add a random number to action temp dir
Fix for #4035
@laszlocsomor
Closes #4110.
PiperOrigin-RevId: 176346381
Diffstat (limited to 'src/test/shell')
-rwxr-xr-x | src/test/shell/bazel/bazel_rules_test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/shell/bazel/bazel_rules_test.sh b/src/test/shell/bazel/bazel_rules_test.sh index da50cc12cf..5e70ebb689 100755 --- a/src/test/shell/bazel/bazel_rules_test.sh +++ b/src/test/shell/bazel/bazel_rules_test.sh @@ -251,7 +251,7 @@ EOF || fail "Failed to build //pkg:test" assert_contains "PATH=$PATH_TO_BAZEL_WRAPPER:/bin:/usr/bin:/random/path" \ bazel-genfiles/pkg/test.out - assert_contains "TMPDIR=.*execroot.*tmp[0-9a-fA-F]\+$" \ + assert_contains "TMPDIR=.*execroot.*tmp[0-9a-fA-F]\+_[0-9a-fA-F]\+$" \ bazel-genfiles/pkg/test.out assert_not_contains "TMPDIR=.*newfancytmpdir" \ bazel-genfiles/pkg/test.out |