Skip to content

Commit 5e092a7

Browse files
committed
Updated doc
1 parent 1cad4c4 commit 5e092a7

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

clu-getstart.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,12 @@ Please set the environment variables for either Username/Password (no 2FA) or Se
136136
_fixture.GetRunner("resource-management").RunScript("01-ResourceGroups");
137137
}
138138
```
139-
- Set the [environment variables](#environment-variables-for-authentication) for either Username/Password (no 2FA) or ServicePrincipal authentication
140-
- The infrastructure automatically generates the following environment variables:
139+
- Set the [environment variables](#Environment_Variables_for_Authentication) for either Username/Password (no 2FA) or ServicePrincipal authentication
140+
- Update PATH to include location of CLU bin drop.
141+
```bash
142+
export PATH=/<path-to-drop>/clurun/win7-x64/:$PATH
143+
```
144+
- The infrastructure automatically generates the following environment variables:
141145
- `BASEDIR` - directory path where test script is located
142146
- `location` - default "WestUS" location
143147
- `groupName` - randomly generated resource group name (note: the test guarantees that this resource group is deleted at the end of a test run; any other resource groups generated as part of the test run need to be deleted by the test)
@@ -156,13 +160,12 @@ runner.EnvironmentVariables.Add("myVariableName", runner.GenerateName("myres"));
156160

157161
##### Running Bash Tests using Bash shell
158162
- Bash tests should be runnable from bash shell in windows/linux/mac environments.
159-
- To manually run the tests; please set [environment variables](#environment-variables-for-authentication) for authentication as well as update PATH and run `./examples/lib/testrunner.sh`
163+
- To manually run the tests; please set [environment variables](#Environment_Variables_for_Authentication) for authentication as well as update PATH and run `./examples/lib/testrunner.sh`
160164

161165
```bash
162166
export azureUser=<[email protected]>
163167
export password=<your_password>
164-
export PATH=$PATH:/<path-to-drop>/clurun/win7-x64/
165-
. /examples/lib/testrunner.sh
168+
export PATH=/<path-to-drop>/clurun/win7-x64/:$PATH
166169
```
167170
- All the parameters to the cmdlets should be passed in as environment variables
168171
- The current test runners will provide a unique resource group name via `$groupName` but may not remove it at the end if the test fails.

0 commit comments

Comments
 (0)