From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Wahl Subject: Re: sed tests Date: Tue, 23 Jan 2018 19:54:55 +0100 Message-ID: <84o9lk4d8g.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33099) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ee3jM-0002xD-HD for emacs-orgmode@gnu.org; Tue, 23 Jan 2018 13:55:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ee3jH-0002oS-ME for emacs-orgmode@gnu.org; Tue, 23 Jan 2018 13:55:36 -0500 Received: from [195.159.176.226] (port=44698 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ee3jH-0002nv-FZ for emacs-orgmode@gnu.org; Tue, 23 Jan 2018 13:55:31 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1ee3gw-00018i-I6 for emacs-orgmode@gnu.org; Tue, 23 Jan 2018 19:53:06 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Hi Skip, Collins writes: > Recently (last two or three weeks), when I run make test on the latest > git source (currently release_9.1.6-395-g8ecc4c) on my mac with Emacs > 26.0.90 (compiled with brew on my Mac), I get the following results: > > Ran 775 tests, 771 results as expected, 4 unexpected (2018-01-23 11:37:59-0500) > 11 expected failures > > 4 unexpected results: > FAILED ob-sed-test/cmd-line-header-argument > FAILED ob-sed-test/in-file-header-argument > FAILED ob-sed-test/simple-execution-of-script > FAILED test-ob-python/session-multiline > > I would appreciate any suggestions for how to address the problem. > This is not urgent, as I don't use ob-sed and org seems to be > functioning normally otherwise. But OSX command line tools sometimes > have quirks that show up as failed tests. Of course it is possible > that I broke my emacs/org in some way. Some days ago I accidentially saw that the sed tests were disabled and that I could easily activate them. And I did and thought that was a wonderful idea. And also the sed tests pass on my linux box. This > Test ob-sed-test/cmd-line-header-argument condition: > (ert-test-failed > ((should > (string= "A tested again file. > " > (with-temp-buffer ... ...))) > :form > (string= "A tested again file. > " "A test file. > ") > :value nil)) shows that sed did not do the substitution of "test" by "tested again" as defined in the respective sed babel block. Maybe you could try to execute sed babel blocks directly. Possibly you get a better understanding of the behaviour. HTH Marco