Browse Source

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

* testing/lisp/test-ob-sh.el ("sh"): Test for an "sh" executable.
Eric Schulte 12 years ago
parent
commit
7c4ac55364
1 changed files with 1 additions and 0 deletions
  1. 1 0
      testing/lisp/test-ob-sh.el

+ 1 - 0
testing/lisp/test-ob-sh.el

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