Don't load test-ob-sh when no "sh" executable

* testing/lisp/test-ob-sh.el ("sh"): Test for an "sh" executable.
This commit is contained in:
Eric Schulte 2012-08-03 13:34:04 -06:00
parent 1952afa6ed
commit 7c4ac55364
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@
;; Template test file for Org-mode tests
;;; Code:
(org-test-for-executable "sh")
(unless (featurep 'ob-sh)
(signal 'missing-test-dependency "Support for Sh code blocks"))