File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ if ($null -ne $module)
16
16
# Import the built module
17
17
Import-Module " $env: PIPELINE_WORKSPACE /ModuleBuild/Microsoft.PowerShell.Archive.psd1"
18
18
19
+ Get-ChildItem " $env: PIPELINE_WORKSPACE /ModuleBuild" | Write-Verbose - Verbose
20
+
19
21
$pesterMinVersion = " 5.3.0"
20
22
$pesterMaxVersion = " 5.3.9"
21
23
Original file line number Diff line number Diff line change @@ -252,12 +252,13 @@ BeforeDiscovery {
252
252
$sourcePath = " TestDrive:/SourceDir"
253
253
$destinationPath = " TestDrive:/archive1.zip"
254
254
Compress-Archive - Path $sourcePath - DestinationPath $destinationPath
255
- $destinationPath | Should - BeZipArchiveOnlyContaining @ (' SourceDir/' , ' SourceDir/Sample-1.txt' )
256
-
257
255
if ($IsWindows ) {
258
256
$t = Convert-Path $destinationPath
259
257
7z l " ${t} " | Write-Verbose - Verbose
260
258
}
259
+ $destinationPath | Should - BeZipArchiveOnlyContaining @ (' SourceDir/' , ' SourceDir/Sample-1.txt' )
260
+
261
+
261
262
}
262
263
}
263
264
You can’t perform that action at this time.
0 commit comments