18 references to BashQuote
Aspire.Deployment.EndToEnd.Tests (18)
AzureSandboxesDeploymentTests.cs (18)
102
await auto.RunCommandAsync($"touch {
BashQuote
(stateMarkerFile)}", counter);
115
await auto.TypeAsync($"aspire deploy 2>&1 | tee {
BashQuote
(deployOutputFile)}");
261
await auto.TypeAsync($"touch {
BashQuote
(stateMarkerFile)}");
278
await auto.TypeAsync($"aspire deploy 2>&1 | tee {
BashQuote
(firstDeployOutputFile)}");
293
await auto.TypeAsync($"aspire deploy 2>&1 | tee {
BashQuote
(secondDeployOutputFile)}");
547
$"STATE_FILE=$(find \"$HOME/.aspire/deployments\" -name '*.json' -newer {
BashQuote
(stateMarkerFile)} -exec grep -l '{sandboxStateUrlKey}' {{}} + | head -n 1) && " +
548
"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 && " +
551
$"printf '%s\\n' \"$URL\" > {
BashQuote
(outputFile)} && " +
570
$"[ \"$STATUS\" = \"200\" ] && echo \"$BODY\" | grep -Fq {
BashQuote
(ExpectedDotNetStorageResponseText)} && {{ echo \" Anonymous .NET endpoint wrote and read an Azure blob using managed identity (attempt $i)\"; success=1; break; }}; " +
581
$"STATE_FILE=$(find \"$HOME/.aspire/deployments\" -name '*.json' -newer {
BashQuote
(stateMarkerFile)} -exec grep -l '\"{statePrefix}:0:Url\"' {{}} + | head -n 1) && " +
582
$"URL=$(cat {
BashQuote
(urlFile)}) && " +
596
$"URL=$(cat {
BashQuote
(urlFile)}) && " +
600
$"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; }}; " +
610
$"FIRST_URL=$(cat {
BashQuote
(firstUrlFile)}) && " +
611
$"SECOND_URL=$(cat {
BashQuote
(secondUrlFile)}) && " +
613
$"NORMALIZED=$(tr -d '\\r' < {
BashQuote
(secondDeployOutputFile)} | tr '\\n' ' ' | sed -E 's/[[:space:]]+/ /g') && " +
625
$"URL=$(cat {
BashQuote
(urlFile)}) && " +
626
$"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') && " +