Unset the environment variables as soon as possible when running the test suite. Also don't store the unset list into a global when they aren't needed in a global variable.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@174750 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed a store to data that isn't needed and that also could end up writing beyond the end of the buffer. This was found by the address sanitizer.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@174755 91177308-0d34-0410-b5e6-96231b3b80d8