From b0b1cdb309e2dbbbadafee4b057534faa78fc625 Mon Sep 17 00:00:00 2001 From: John McCrae Date: Sun, 8 May 2022 12:06:36 +0600 Subject: Updated the recipe to remove Git completely before updating it. Signed-off-by: John McCrae --- kitchen-tests/cookbooks/end_to_end/recipes/macos.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'kitchen-tests') 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 -- cgit v1.2.1