Skip to content

Commit

Permalink
Use "bash" executable instead of "/bin/bash" in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vspinu committed Aug 15, 2019
1 parent 680a460 commit 0f725b7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/ess-test-r-package.el
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
(should ess-r-package-mode))))

(ert-deftest ess-r-package-auto-activation-in-shell-test ()
(skip-unless (executable-find "/bin/bash"))
(skip-unless (executable-find "bash"))
(let ((inhibit-message ess-inhibit-message-in-tests)
(kill-buffer-query-functions nil)
(explicit-shell-file-name "/bin/bash")
(explicit-shell-file-name "bash")
(explicit-bash-args '("--noediting" "-i" "--norc" "--noprofile")))
(with-ess-test-r-file "dummy-pkg/R/test.R"
(shell)
Expand All @@ -53,9 +53,9 @@
;; FIXME: This test fails in batch in Emacs 27.
(skip-unless (and (>= 27 emacs-major-version)
(not noninteractive)
(executable-find "/bin/bash")))
(executable-find "bash")))
(let ((kill-buffer-query-functions nil)
(explicit-shell-file-name "/bin/bash")
(explicit-shell-file-name "bash")
(explicit-bash-args '("--noediting" "-i" "--norc" "--noprofile")))
(with-ess-test-r-file "dummy-pkg/R/test.R"
(let ((ess-r-package-exclude-modes '(shell-mode)))
Expand Down

0 comments on commit 0f725b7

Please sign in to comment.