fix: make dotnet runnable.

This commit is contained in:
2026-07-20 21:12:41 +02:00
parent 614efa846e
commit 3b09de311b
3 changed files with 22 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
from pathlib import Path
def test_dotnet_wrapper_uses_sandbox_writable_runtime_directories() -> None:
root = Path(__file__).parents[1]
script = (root / "install-scripts" / "dotnet").read_text()
assert 'DOTNET_CLI_HOME="${DOTNET_CLI_HOME:-/tmp/agentci-dotnet}"' in script
assert 'NUGET_PACKAGES="${NUGET_PACKAGES:-/tmp/agentci-nuget/packages}"' in script
assert 'mkdir -p "$DOTNET_CLI_HOME" "$NUGET_PACKAGES"' in script