Skip to content

Commit 8445c72

Browse files
authored
Fix reading TestEnv.txt in BionicRunnerTemplate.sh (#76927)
It was assuming the script is run from the same dir as the .txt file but that is not always the case.
1 parent 4848a54 commit 8445c72

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

eng/testing/BionicRunnerTemplate.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
#!/usr/bin/env bash
22

3-
. TestEnv.txt
43

54
EXECUTION_DIR="$(realpath "$(dirname "$0")")"
5+
. "$EXECUTION_DIR/TestEnv.txt"
6+
67
RUNTIME_PATH="$2"
78
TEST_SCRIPT="$(basename "$ASSEMBLY_NAME" .dll).sh"
89
if [[ -z "$HELIX_WORKITEM_UPLOAD_ROOT" ]]; then

0 commit comments

Comments
 (0)