浏览代码

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 年之前
父节点
当前提交
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"))