11 references to BashQuote
Aspire.Deployment.EndToEnd.Tests (11)
AzureSandboxesDeploymentTests.cs (11)
103
await auto.TypeAsync($"touch {
BashQuote
(stateMarkerFile)}");
120
await auto.TypeAsync($"aspire deploy 2>&1 | tee {
BashQuote
(firstDeployOutputFile)}");
135
await auto.TypeAsync($"aspire deploy 2>&1 | tee {
BashQuote
(secondDeployOutputFile)}");
274
$"STATE_FILE=$(find \"$HOME/.aspire/deployments\" -name '*.json' -newer {
BashQuote
(stateMarkerFile)} -exec grep -l '{SandboxStateUrlKey}' {{}} + | head -n 1) && " +
275
"if [ -z \"$STATE_FILE\" ]; then echo \"Sandbox deployment state file not found\"; find \"$HOME/.aspire/deployments\" -name '*.json' -newer " +
BashQuote
(stateMarkerFile) + " -print; exit 1; fi && " +
278
$"printf '%s\\n' \"$URL\" > {
BashQuote
(outputFile)} && " +
285
$"URL=$(cat {
BashQuote
(urlFile)}) && " +
289
$"BODY=$(curl -fsS \"$URL\" --max-time 10 2>/tmp/aspire-sandbox-curl.err) && echo \"$BODY\" | grep -Fq {
BashQuote
(ExpectedResponseText)} && {{ echo \" OK (attempt $i)\"; success=1; break; }}; " +
299
$"FIRST_URL=$(cat {
BashQuote
(firstUrlFile)}) && " +
300
$"SECOND_URL=$(cat {
BashQuote
(secondUrlFile)}) && " +
302
$"NORMALIZED=$(tr -d '\\r' < {
BashQuote
(secondDeployOutputFile)} | tr '\\n' ' ' | sed -E 's/[[:space:]]+/ /g') && " +