mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Add daily build non-windows platforms (#7683)
Add daily build non-windows platforms - Also, make the [Feature] tag work in VSTS for non-windows - Also, add a way to force feature tests to run - Also, fix an issue where `-workingdirectory` didn't work when running async
This commit is contained in:
@@ -548,7 +548,7 @@ foo
|
||||
@{ value = "~\$folderName"; expectedPath = $((Get-Item ~\$folderName).FullName) }
|
||||
) {
|
||||
param($value, $expectedPath)
|
||||
$output = & $powershell -WorkingDirectory "$value" -Command "`$pwd.Path"
|
||||
$output = & $powershell -NoProfile -WorkingDirectory "$value" -Command '(Get-Location).Path'
|
||||
$output | Should -BeExactly $expectedPath
|
||||
}
|
||||
|
||||
@@ -558,7 +558,7 @@ foo
|
||||
@{ parameter = '-wo' }
|
||||
) {
|
||||
param($parameter)
|
||||
$output = & $powershell $parameter ~ -Command "`$pwd.Path"
|
||||
$output = & $powershell -NoProfile $parameter ~ -Command "`$pwd.Path"
|
||||
$output | Should -BeExactly $((Get-Item ~).FullName)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user