From bbb76f5c67cd55323d0d3b950bc8d3dd8250f823 Mon Sep 17 00:00:00 2001 From: Tess Gauthier Date: Wed, 19 Oct 2022 14:22:39 -0400 Subject: [PATCH] increase debug of failing pester test --- regress/pesterTests/CertAuth.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regress/pesterTests/CertAuth.Tests.ps1 b/regress/pesterTests/CertAuth.Tests.ps1 index cb822ca95..a3c404ad9 100644 --- a/regress/pesterTests/CertAuth.Tests.ps1 +++ b/regress/pesterTests/CertAuth.Tests.ps1 @@ -70,7 +70,7 @@ Describe "E2E scenarios for certificate authentication" -Tags "CI" { $pcOutFile = Join-Path $testDir "$tC.$tI.pcout.txt" $logFile = Join-Path $testDir "$tC.$tI.log.txt" Remove-Item -Force $pcOutFile -ErrorAction SilentlyContinue - $sshdArgs = "-d -f $sshdconfig -E $logFile -o `"AuthorizedKeysFile .fake/authorized_keys`"" + $sshdArgs = "-ddd -f $sshdconfig -E $logFile -o `"AuthorizedKeysFile .fake/authorized_keys`"" $sshdArgs += " -o `"AuthorizedPrincipalsCommand=$env:windir\system32\cmd.exe /c echo otheruser& echo $pkuser& whoami > $pcOutFile`"" $sshdArgs += " -o `"AuthorizedPrincipalsCommandUser=$ssouser`"" $sshdArgs += " -o PasswordAuthentication=no"