Просмотр исходного кода

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 лет назад
Родитель
Сommit
7c4ac55364
1 измененных файлов с 1 добавлено и 0 удалено
  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"))