Fix a test to use the targeted powershell rather than the system installed one (#3286)
This commit is contained in:
parent
03b00e6522
commit
44bd923d22
|
@ -399,7 +399,7 @@ foo
|
||||||
$env:XDG_CACHE_HOME = "/dev/cpu"
|
$env:XDG_CACHE_HOME = "/dev/cpu"
|
||||||
$env:XDG_DATA_HOME = "/dev/cpu"
|
$env:XDG_DATA_HOME = "/dev/cpu"
|
||||||
$env:XDG_CONFIG_HOME = "/dev/cpu"
|
$env:XDG_CONFIG_HOME = "/dev/cpu"
|
||||||
$output = & powershell -noprofile -Command { (get-command).count }
|
$output = & $powershell -noprofile -Command { (get-command).count }
|
||||||
[int]$output | Should BeGreaterThan 0
|
[int]$output | Should BeGreaterThan 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue