From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: Release 9.0 test failed: test-ob/indented-cached-org-bracket-link Date: Sat, 19 Nov 2016 09:40:01 -0800 Message-ID: References: <8737ipnpnk.fsf@nicolasgoaziou.fr> <874m34m0ab.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c89cY-0007t2-Te for emacs-orgmode@gnu.org; Sat, 19 Nov 2016 12:40:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c89cV-0001JK-Rw for emacs-orgmode@gnu.org; Sat, 19 Nov 2016 12:40:10 -0500 Received: from iport-acv4-out.ucsd.edu ([132.239.0.7]:38568) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1c89cV-0001Fv-Dq for emacs-orgmode@gnu.org; Sat, 19 Nov 2016 12:40:07 -0500 In-Reply-To: <874m34m0ab.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: David Talmage , emacs-orgmode@gnu.org On Fri, 18 Nov 2016, Nicolas Goaziou wrote: > Hello, > > "Charles C. Berry" writes: > >> On Fri, 18 Nov 2016, Nicolas Goaziou wrote: >> >>> Hello, >>> >>> David Talmage writes: >>> >>>> I built org 9.0 on my Mac today. 'make test' reported one failed test. I >>>> don't know if it is important or not. Please advise me. >>>> >>>> 'make test' said: >>>> >>>> 1 unexpected results: >>>> FAILED test-ob/indented-cached-org-bracket-link >>> [snip] > > > Another option is to modify the test so it prints some useful debugging > information before failing (e.g., contents of default-directory and > return value of (org-babel-execute-src-block)). > Doing this with `make test', I see that default-directory is let bound to "/var/folders/kb/2hchpbyj7lb6z76l0q73w_fh0000gn/T//tmp-orgtest/" and (concat default-directory "test.txt") will retain the double slash. The return value from the second (org-babel-execute-src-block) has only a single slash between 'T' and 'tmp'. Hence the failure. When run interactively, there is no double slash and the test succeeds. Using : (expand-file-name "test.txt") in place of : (concat default-directory "test.txt) cleans out the double slash and succeeds either with `make test' or interactively. So, maybe make that change? Chuck