Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Commit

Permalink
fix nanoserver WINDOWS_VERSION_TAG in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lemeurherve committed Jul 9, 2023
1 parent 77ec0c3 commit 3e2a639
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/inboundAgent.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ $global:WINDOWSVERSION = $items[2]
$global:CONTAINERSHELL="powershell.exe"
if($global:WINDOWSFLAVOR -eq 'nanoserver') {
$global:CONTAINERSHELL = "pwsh.exe"
# Special case for nanoserver-1809
if($global:WINDOWSVERSION -eq '1809') {
$global:WINDOWS_VERSION_TAG = '1809'
}
}


Expand Down

0 comments on commit 3e2a639

Please sign in to comment.