File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ registry = "Registry"
15
15
16
16
[get ]
17
17
notImplemented = " get not yet implemented for Microsoft.OpenSSH.SSHD/sshd_config"
18
- defaultShellEmpty = " shell cannot be empty"
19
18
defaultShellMustBeString = " shell must be a string"
20
19
defaultShellCmdOptionMustBeString = " cmdOption must be a string"
21
20
defaultShellEscapeArgsMustBe0Or1 = " '%{input}' must be a 0 or 1"
Original file line number Diff line number Diff line change @@ -198,12 +198,12 @@ Describe 'Default Shell Configuration Error Handling on Non-Windows Platforms' -
198
198
199
199
$out = sshdconfig set -- input $inputConfig 2>&1
200
200
$LASTEXITCODE | Should -Not - Be 0
201
- $out | Should - BeLike ' *not applicable to this platform *'
201
+ $out | Should - BeLike ' *is only applicable to Windows *'
202
202
}
203
203
204
204
It ' Should return error for get command' {
205
205
$out = sshdconfig get - s windows- global 2>&1
206
206
$LASTEXITCODE | Should -Not - Be 0
207
- $out | Should - BeLike ' *not applicable to this platform *'
207
+ $out | Should - BeLike ' *is only applicable to Windows *'
208
208
}
209
209
}
You can’t perform that action at this time.
0 commit comments