From aa158da69bf237e3892e02864421547c5026c1b4 Mon Sep 17 00:00:00 2001 From: Matthew Trzcinski Date: Sun, 19 Feb 2023 18:19:45 -0500 Subject: [PATCH] test-ob-shell: Fix test buffers not being removed on success * test-ob-shell.el (test-ob-shell/remote-with-stdin-or-cmdline): Kill test related buffers when test is successful. See ce4f7db3c. --- testing/lisp/test-ob-shell.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/lisp/test-ob-shell.el b/testing/lisp/test-ob-shell.el index fe975771c..8366f9dbe 100644 --- a/testing/lisp/test-ob-shell.el +++ b/testing/lisp/test-ob-shell.el @@ -251,7 +251,7 @@ echo ${table[spaghetti]} (org-trim (org-babel-execute-src-block)))) (expected (concat "ARGS: --verbose 23 71" "\nhello tramp from " (file-local-name default-directory)))) - (if (should (equal result expected)) nil + (if (should (equal result expected)) ;; FIXME: Fails with non-local exit on Emacs 26. (when (version<= "27" emacs-version) (kill-matching-buffers (format "\\*tramp/mock\\s-%s\\*" system-name) t t))))))))