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:
James Truher 2016-09-12 12:59:12 -07:00
parent f00f82d85c
commit 97c4bbe952

View file

@ -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