My amateurish bash skills are showing. I forgot that you have to
source a script to modify the environment, though, to be fair, this
line was already here when I got here. :)
Commit migrated from https://github.com/dotnet/coreclr/commit/
7947874d2c4041cc85820a6798ea65ec7f7cfc8d
LockFile="lock"
-# The __TestEnv variable may be used to specify something to run before the test.
-$__TestEnv
+# The __TestEnv variable may be used to specify a script to source before the test.
+if [ -n "$__TestEnv" ]%3B then
+ source $__TestEnv
+fi
$(BashEnvironmentVariables)
$(BashCLRTestEnvironmentCompatibilityCheck)