branch: elpa/bash-completion
commit 23a34028449325a75eb5de8bb8ad76683df60458
Author: Stephane Zermatten <[email protected]>
Commit: Stephane Zermatten <[email protected]>
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)