diff options
author | Gursewak <grswkscheema@gmail.com> | 2018-01-16 09:37:49 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-01-16 09:39:19 -0800 |
commit | 644ada0444a9db285eb4e6c2511fc9581cc69880 (patch) | |
tree | ce38e29734b0b140f002d544b581a9009eb9786c /tools/test | |
parent | bea6712789cd7e70db23674402fb11a175cfc896 (diff) |
HOME missing from the action env (despite mentioned in the docs)
Issue #4401
Closes #4437.
PiperOrigin-RevId: 182067976
Diffstat (limited to 'tools/test')
-rwxr-xr-x | tools/test/test-setup.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/test/test-setup.sh b/tools/test/test-setup.sh index a61e0c7007..3b7ce2db31 100755 --- a/tools/test/test-setup.sh +++ b/tools/test/test-setup.sh @@ -57,6 +57,7 @@ is_absolute "$TEST_UNDECLARED_OUTPUTS_ANNOTATIONS_DIR" || is_absolute "$TEST_SRCDIR" || TEST_SRCDIR="$PWD/$TEST_SRCDIR" is_absolute "$TEST_TMPDIR" || TEST_TMPDIR="$PWD/$TEST_TMPDIR" +is_absolute "$HOME" || HOME="$PWD/$TEST_TMPDIR" is_absolute "$XML_OUTPUT_FILE" || XML_OUTPUT_FILE="$PWD/$XML_OUTPUT_FILE" # Set USER to the current user, unless passed by Bazel via --test_env. |