summaryrefslogtreecommitdiff
path: root/kitchen-tests
diff options
context:
space:
mode:
authorJohn McCrae <jmccrae@chf.io>2022-05-08 12:06:36 +0600
committerJohn McCrae <jmccrae@chf.io>2022-05-08 12:06:36 +0600
commitb0b1cdb309e2dbbbadafee4b057534faa78fc625 (patch)
treecaa24fd529a922902b01263baaa88bc34189fd73 /kitchen-tests
parentb747b7d6c7990f2ffcc7535d6eb9447912a8f1e0 (diff)
downloadchef-b0b1cdb309e2dbbbadafee4b057534faa78fc625.tar.gz
Updated the recipe to remove Git completely before updating it.
Signed-off-by: John McCrae <jmccrae@chf.io>
Diffstat (limited to 'kitchen-tests')
-rw-r--r--kitchen-tests/cookbooks/end_to_end/recipes/macos.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb
index 4c5ffd8581..840b0567d0 100644
--- a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb
+++ b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb
@@ -107,6 +107,16 @@ execute "changing ownership of the git cask" do
live_stream true
end
+execute "show the list of offending folders" do
+ command "ls -al /usr/local/Cellar/git@2.35.1/2.35.1/etc/bash_completion.d"
+ live_stream true
+end
+
+execute "show the list of offending folders" do
+ command "rm -rf /usr/local/Cellar/git@2.35.1"
+ live_stream true
+end
+
# execute "where or where is the git cask" do
# command "ls -al /usr/local/Cellar"
# live_stream true