From 0e6a35e54ae82562e08eff5e89ac46d45990ef23 Mon Sep 17 00:00:00 2001 From: Elad Amit Date: Wed, 19 Jun 2013 18:49:33 +0300 Subject: [PATCH] fixed the fact that the test drive is not available in case it has special chars like a . in it" --- Functions/Setup.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/Functions/Setup.ps1 b/Functions/Setup.ps1 index 0645ff43e..7775b62d3 100644 --- a/Functions/Setup.ps1 +++ b/Functions/Setup.ps1 @@ -1,4 +1,5 @@ $global:TestDrive = "$env:Temp\pester" +$global:TestDrive = [System.IO.Path]::GetFullPath($TestDrive) function Initialize-Setup() { if (Test-Path TestDrive:) { return }