From dc9cff99c5bcc487a68f488bbe419758ac72987c Mon Sep 17 00:00:00 2001
From: Imran Iqbal <iqbalmy@hotmail.com>
Date: Tue, 17 May 2022 07:39:37 +0100
Subject: [PATCH] test(macos): update for this platform

---
 test/integration/default/controls/pkgs_spec.rb    | 2 ++
 test/integration/default/controls/service_spec.rb | 8 ++++++++
 2 files changed, 10 insertions(+)

diff --git a/test/integration/default/controls/pkgs_spec.rb b/test/integration/default/controls/pkgs_spec.rb
index 389aba1..3bfb34b 100644
--- a/test/integration/default/controls/pkgs_spec.rb
+++ b/test/integration/default/controls/pkgs_spec.rb
@@ -8,6 +8,8 @@ pkgs =
     %w[py38-salt]
   when 'windows'
     ['Salt Minion']
+  when 'mac_os_x'
+    %w[salt saltstack]
   else
     %w[salt-master salt-minion]
   end
diff --git a/test/integration/default/controls/service_spec.rb b/test/integration/default/controls/service_spec.rb
index be3dab7..a1d5843 100644
--- a/test/integration/default/controls/service_spec.rb
+++ b/test/integration/default/controls/service_spec.rb
@@ -6,6 +6,14 @@ services =
     %w[salt_master salt_minion]
   when 'windows'
     %w[salt-minion]
+  when 'darwin'
+    # The following is expected but isn't yet working in the GitHub Actions
+    # macOS runners
+    # %w[com.saltstack.salt.api
+    #    com.saltstack.salt.master
+    #    com.saltstack.salt.minion
+    #    com.saltstack.salt.syndic]
+    []
   else
     %w[salt-master salt-minion]
   end
-- 
GitLab