diff options
author | Zachary Turner <zturner@google.com> | 2017-03-22 16:30:06 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2017-03-22 16:30:06 +0000 |
commit | d8350cf3fce4bb582e99634947f8fc4cbb7cb105 (patch) | |
tree | 4235d2ecf9b939aaad68ac76bd1ee402d904f4a1 /lldb/packages/Python/lldbsuite/test/expression_command/expr-in-syscall | |
parent | a3cf70bfa0f11d7da90f11e148be8f9c285c79ac (diff) | |
download | bcm5719-llvm-d8350cf3fce4bb582e99634947f8fc4cbb7cb105.tar.gz bcm5719-llvm-d8350cf3fce4bb582e99634947f8fc4cbb7cb105.zip |
Make the home_directory test a little more resilient.
It's possible (albeit strange) for $HOME to intentionally
point somewhere other than the user's home directory as
reported by the password database. Our test shouldn't fail
in this case. This patch updates the test to pull directly
from the password database before unsetting $HOME, rather
than comparing the return value of home_directory() to the
original value of the environment variable.
llvm-svn: 298514
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/expr-in-syscall')
0 files changed, 0 insertions, 0 deletions