18 references to BashQuote
Aspire.Deployment.EndToEnd.Tests (18)
AzureSandboxesDeploymentTests.cs (18)
111
await auto.RunCommandAsync($"touch {
BashQuote
(stateMarkerFile)}", counter);
126
await auto.TypeAsync($"aspire deploy 2>&1 | tee {
BashQuote
(deployOutputFile)}");
289
await auto.TypeAsync($"touch {
BashQuote
(stateMarkerFile)}");
306
await auto.TypeAsync($"aspire deploy 2>&1 | tee {
BashQuote
(firstDeployOutputFile)}");
321
await auto.TypeAsync($"aspire deploy 2>&1 | tee {
BashQuote
(secondDeployOutputFile)}");
581
$"STATE_FILE=$(find \"$HOME/.aspire/deployments\" -name '*.json' -newer {
BashQuote
(stateMarkerFile)} -exec grep -l '{sandboxStateUrlKey}' {{}} + | head -n 1) && " +
582
"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 && " +
585
$"printf '%s\\n' \"$URL\" > {
BashQuote
(outputFile)} && " +
604
$"[ \"$STATUS\" = \"200\" ] && [ \"$BODY\" = {
BashQuote
(ExpectedDotNetStorageResponseText)} ] && {{ echo \" Anonymous .NET endpoint wrote and read an Azure blob using managed identity (attempt $i)\"; success=1; break; }}; " +
615
$"STATE_FILE=$(find \"$HOME/.aspire/deployments\" -name '*.json' -newer {
BashQuote
(stateMarkerFile)} -exec grep -l '\"{statePrefix}:0:Url\"' {{}} + | head -n 1) && " +
616
$"URL=$(cat {
BashQuote
(urlFile)}) && " +
630
$"URL=$(cat {
BashQuote
(urlFile)}) && " +
634
$"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; }}; " +
644
$"FIRST_URL=$(cat {
BashQuote
(firstUrlFile)}) && " +
645
$"SECOND_URL=$(cat {
BashQuote
(secondUrlFile)}) && " +
647
$"NORMALIZED=$(tr -d '\\r' < {
BashQuote
(secondDeployOutputFile)} | tr '\\n' ' ' | sed -E 's/[[:space:]]+/ /g') && " +
659
$"URL=$(cat {
BashQuote
(urlFile)}) && " +
660
$"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') && " +