18 references to BashQuote
Aspire.Deployment.EndToEnd.Tests (18)
AzureSandboxesDeploymentTests.cs (18)
109await auto.RunCommandAsync($"touch {BashQuote(stateMarkerFile)}", counter); 124await auto.TypeAsync($"aspire deploy 2>&1 | tee {BashQuote(deployOutputFile)}"); 288await auto.TypeAsync($"touch {BashQuote(stateMarkerFile)}"); 305await auto.TypeAsync($"aspire deploy 2>&1 | tee {BashQuote(firstDeployOutputFile)}"); 320await auto.TypeAsync($"aspire deploy 2>&1 | tee {BashQuote(secondDeployOutputFile)}"); 596$"STATE_FILE=$(find \"$HOME/.aspire/deployments\" -name '*.json' -newer {BashQuote(stateMarkerFile)} -exec grep -l '{sandboxStateUrlKey}' {{}} + | head -n 1) && " + 597"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 && " + 600$"printf '%s\\n' \"$URL\" > {BashQuote(outputFile)} && " + 620$"[ \"$STATUS\" = \"200\" ] && [ \"$BODY\" = {BashQuote(expectedResponseText)} ] && {{ echo \" Anonymous .NET endpoint returned the expected response (attempt $i)\"; success=1; break; }}; " + 631$"STATE_FILE=$(find \"$HOME/.aspire/deployments\" -name '*.json' -newer {BashQuote(stateMarkerFile)} -exec grep -l '\"{statePrefix}:0:Url\"' {{}} + | head -n 1) && " + 632$"URL=$(cat {BashQuote(urlFile)}) && " + 646$"URL=$(cat {BashQuote(urlFile)}) && " + 650$"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; }}; " + 660$"FIRST_URL=$(cat {BashQuote(firstUrlFile)}) && " + 661$"SECOND_URL=$(cat {BashQuote(secondUrlFile)}) && " + 663$"NORMALIZED=$(tr -d '\\r' < {BashQuote(secondDeployOutputFile)} | tr '\\n' ' ' | sed -E 's/[[:space:]]+/ /g') && " + 675$"URL=$(cat {BashQuote(urlFile)}) && " + 676$"NORMALIZED=$(perl -pe 's/\\e\\][^\\e]*\\e\\\\\\\\//g; s/\\e\\[[0-9;]*[mK]//g' {BashQuote(deployOutputFile)} | tr -d '\\r' | tr '\\n' ' ' | sed -E 's/[[:space:]]+/ /g') && " +