mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
don't use git to determine where the common directory is
it's not portable for our lab environment, where git may not exist
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
|
||||
if ( ! (get-module -ea silentlycontinue TestHostCS ))
|
||||
{
|
||||
$root = git rev-parse --show-toplevel
|
||||
$pestertestroot = join-path $root test/powershell
|
||||
# this is sensitive to the location of this test and the common directory"
|
||||
$pestertestroot = resolve-path "$psscriptroot/../.."
|
||||
$common = join-path $pestertestroot Common
|
||||
$hostmodule = join-path $common TestHostCS.psm1
|
||||
import-module $hostmodule
|
||||
|
||||
Reference in New Issue
Block a user