소스 검색

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"))