mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
modified to work under jenkins
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
}
|
||||
|
||||
It "Should be able to access the members of the environment variable" {
|
||||
$test = /usr/bin/whoami
|
||||
$expected = "/" + $test
|
||||
$expected = /bin/bash -c "cd ~ && pwd"
|
||||
|
||||
(Get-Item ENV:HOME).Value | Should Be $expected
|
||||
(Get-Item ENV:HOSTNAME).Value | Should Not BeNullOrEmpty
|
||||
(Get-Item ENV:PATH).Value | Should Not BeNullOrEmpty
|
||||
|
||||
Reference in New Issue
Block a user