Skip to content

Commit 42c8b26

Browse files
committed
set tracing level for test
1 parent 1614fce commit 42c8b26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/apt/test/apt.tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Describe 'Apt resource tests' {
2727
if (-not $aptExists) {
2828
Set-ItResult -Skip -Because "Apt not found"
2929
}
30-
$out = dsc config get -p $yamlPath 2> "$TestDrive/stderr.txt" | ConvertFrom-Json -Depth 10
30+
$out = dsc -l trace config get -p $yamlPath 2> "$TestDrive/stderr.txt" | ConvertFrom-Json -Depth 10
3131
$LASTEXITCODE | Should -Be 0 -Because (Get-Content "$TestDrive/stderr.txt")
3232
$exists = $null -ne (Get-Command $pkgName -CommandType Application -ErrorAction Ignore)
3333
$observed = $out.results[1].result.actualState._exist

0 commit comments

Comments
 (0)