Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding helper scripts source #9905

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions images/ubuntu/scripts/build/configure-apt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ apt-get update
# Install jq
apt-get install jq

# Source the helpers for use with the script
source $HELPER_SCRIPTS/os.sh

if ! is_ubuntu24; then
# Install apt-fast using quick-install.sh
# https://github.com/ilikenwf/apt-fast
Expand Down
4 changes: 2 additions & 2 deletions images/ubuntu/scripts/tests/DotnetSDK.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ Describe "Dotnet and tools" {
$dotnet = @{ dotnetVersion = $version }

It "SDK <dotnetVersion> is available" -TestCases $dotnet {
$dotnetSDKs | Should -Match "$dotnetVersion.[1-9]*"
$dotnetSDKs | Should -Match "$dotnetVersion.[0-9]*"
}

It "Runtime <dotnetVersion> is available" -TestCases $dotnet {
$dotnetRuntimes | Should -Match "$dotnetVersion.[1-9]*"
$dotnetRuntimes | Should -Match "$dotnetVersion.[0-9]*"
}
}
}
Expand Down
Loading