emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
blob c601e44eb3b04ca8c264c381be140f064dc0b7c6 1048 bytes (raw)
name: testing/lisp/test-ob-core.el 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
;;; test-ob-core.el --- tests for ob-core.el

;; Copyright (c) 2018-2022 Free Software Foundation, Inc.
;; Authors: stardiviner

;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.

;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with this program.  If not, see <http://www.gnu.org/licenses/>.

;;; Code:
(ert-deftest test-ob-core/dir-mkdirp ()
  (org-test-with-temp-text
   "#+begin_src sh :mkdirp yes :dir \"data/code\"
pwd
#+end_src"
   (org-babel-execute-src-block)
   (should (file-directory-p "data/code"))))

(provide 'test-ob-core)

;;; test-ob-core.el ends here

debug log:

solving c601e44eb ...
found c601e44eb in https://list.orgmode.org/orgmode/8736o4h15m.fsf@gmail.com/ ||
	https://list.orgmode.org/orgmode/875zt0h925.fsf@gmail.com/ ||
	https://list.orgmode.org/orgmode/87a7id3mf0.fsf@gmail.com/

applying [1/1] https://list.orgmode.org/orgmode/8736o4h15m.fsf@gmail.com/
diff --git a/testing/lisp/test-ob-core.el b/testing/lisp/test-ob-core.el
new file mode 100644
index 000000000..c601e44eb

Checking patch testing/lisp/test-ob-core.el...
Applied patch testing/lisp/test-ob-core.el cleanly.

skipping https://list.orgmode.org/orgmode/875zt0h925.fsf@gmail.com/ for c601e44eb
skipping https://list.orgmode.org/orgmode/87a7id3mf0.fsf@gmail.com/ for c601e44eb
index at:
100644 c601e44eb3b04ca8c264c381be140f064dc0b7c6	testing/lisp/test-ob-core.el

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).