emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/bash-completion 23a3402844 270/313: Trying to disable the


From: ELPA Syncer
Subject: [nongnu] elpa/bash-completion 23a3402844 270/313: Trying to disable the warning on MacOS that breaks the tests.
Date: Sat, 3 Dec 2022 10:59:37 -0500 (EST)

branch: elpa/bash-completion
commit 23a34028449325a75eb5de8bb8ad76683df60458
Author: Stephane Zermatten <szermatt@gmx.net>
Commit: Stephane Zermatten <szermatt@gmx.net>

    Trying to disable the warning on MacOS that breaks the tests.
    
    Tests are currently broken because, on MacOS, the buffer starts with:
    
    The default interactive shell is now zsh.
    To update your account to use zsh, please run `chsh -s /bin/zsh`.
    For more details, please visit https://support.apple.com/kb/HT208050.
---
 test/bash-completion-integration-test.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/bash-completion-integration-test.el 
b/test/bash-completion-integration-test.el
index 1056bb73bf..d718110052 100644
--- a/test/bash-completion-integration-test.el
+++ b/test/bash-completion-integration-test.el
@@ -152,6 +152,8 @@ for testing completion."
     (prog1
         test-env-dir
       (with-temp-file (expand-file-name "bashrc" test-env-dir)
+        ;; Disable ZSH warning under MacOS Catalina
+        (insert "export BASH_SILENCE_DEPRECATION_WARNING=1") 
         (insert "export PATH=/bin\n")
         (insert (format "cd '%s'\n" test-env-dir))
         (insert bashrc)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]