Skip to content

Commit

Permalink
[macOS] Update condition for automation mode (#7626)
Browse files Browse the repository at this point in the history
  • Loading branch information
erik-bershel authored May 24, 2023
1 parent 7042fda commit 74433f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion images/macos/provision/configuration/configure-machine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ done
rm -f ./add-certificate

# enable-automationmode-without-authentication
if is_Monterey; then
if ! is_BigSur; then
retry=10
while [ $retry -gt 0 ]; do
{
Expand Down
2 changes: 1 addition & 1 deletion images/macos/tests/System.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Describe "Open windows" -Skip:(isVeertu) {
}

Describe "AutomationModeTool" {
It "Does not require user authentication" -Skip:(-not $os.IsMonterey) {
It "Does not require user authentication" -Skip:($os.IsBigSur) {
automationmodetool | Out-String | Should -Match "DOES NOT REQUIRE"
}
}

0 comments on commit 74433f1

Please sign in to comment.