Explorar o código

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

* testing/lisp/test-ob-sh.el ("sh"): Test for an "sh" executable.
Eric Schulte %!s(int64=12) %!d(string=hai) anos
pai
achega
7c4ac55364
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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
 
 ;;; Code:
+(org-test-for-executable "sh")
 (unless (featurep 'ob-sh)
   (signal 'missing-test-dependency "Support for Sh code blocks"))