From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: [PATCH] ob-shell Date: Wed, 13 Aug 2014 15:12:18 +0200 Message-ID: References: <86vbsycepz.fsf@somewhere.org> <87tx8iks22.fsf@bzg.ath.cx> <86ppi6qnb5.fsf@somewhere.org> <87vbrxx4zr.fsf@Rainer.invalid> <86ppi5uwgl.fsf@somewhere.org> <877g4cacn9.fsf@Rainer.invalid> <87vbrt8hpo.fsf_-_@Rainer.invalid> <87ha3ck9as.fsf@gmail.com> <87bns0gho2.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHYLw-0004Wr-Q5 for emacs-orgmode@gnu.org; Wed, 13 Aug 2014 09:12:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XHYLr-0006gR-0P for emacs-orgmode@gnu.org; Wed, 13 Aug 2014 09:12:32 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:8636) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHYLq-0006fY-Px for emacs-orgmode@gnu.org; Wed, 13 Aug 2014 09:12:26 -0400 In-Reply-To: <87bns0gho2.fsf@Rainer.invalid> (Achim Gratz's message of "Mon, 04 Aug 2014 21:48:29 +0200") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Achim Gratz Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2014-08-04 21:48, Achim Gratz writes: > Alan Schmitt writes: >> Has this been applied? I'm still seeing a failing test for ob-shell. >> >> 1 unexpected results: >> FAILED ob-shell/bash-uses-assoc-arrays > > That's to be expected if you use a version of bash that doesn't support > assoc arrays. I don't use bash, I either use zsh or fish. So I guess the version of bash on my system is the one that ships with OS X 10.9: GNU bash, version 3.2.51(1)-release (x86_64-apple-darwin13) > WHat is the backtrace from the test? Babel (and the > tests) blindly assume that these things work when they see you using > "bash". Test ob-shell/bash-uses-assoc-arrays backtrace: signal(ert-test-failed (((should (equal "20 cm" (org-babel-execute-s ert-fail(((should (equal "20 cm" (org-babel-execute-src-block))) :fo (if (unwind-protect (setq value-1098 (apply fn-1096 args-1097)) (set (let (form-description-1100) (if (unwind-protect (setq value-1098 (a (let ((value-1098 (quote ert-form-evaluation-aborted-1099))) (let (f (let ((fn-1096 (function equal)) (args-1097 (list "20 cm" (org-babel (save-restriction (org-babel-next-src-block 2) (let ((fn-1096 (funct (progn (org-id-goto "82320a48-3409-49d7-85c9-5de1c6d3ff87") (setq to (unwind-protect (progn (org-id-goto "82320a48-3409-49d7-85c9-5de1c6d (let ((save-match-data-internal (match-data))) (unwind-protect (prog (progn (let ((save-match-data-internal (match-data))) (unwind-protec (unwind-protect (progn (let ((save-match-data-internal (match-data)) (let ((wconfig (current-window-configuration))) (unwind-protect (pro (unwind-protect (let ((wconfig (current-window-configuration))) (unw (let* ((id-location (org-id-find "82320a48-3409-49d7-85c9-5de1c6d3ff (lambda nil (let* ((id-location (org-id-find "82320a48-3409-49d7-85c byte-code("\306\307!q\210\310\216\311 \312\216\313\314\315\316\3 ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc byte-code("\306\307!\211\211r\310\311!q\210\312 d\313\223)L\210)\3 ert-run-test([cl-struct-ert-test ob-shell/bash-uses-assoc-arrays "Ba ert-run-or-rerun-test([cl-struct-ert--stats "\\(org\\|ob\\)" [[cl-st ert-run-tests("\\(org\\|ob\\)" #[(event-type &rest event-args) "\306 ert-run-tests-batch("\\(org\\|ob\\)") ert-run-tests-batch-and-exit("\\(org\\|ob\\)") (let ((org-id-track-globally t) (org-test-selector (if org-test-sele org-test-run-batch-tests("\\(org\\|ob\\)") eval((org-test-run-batch-tests org-test-select-re)) command-line-1(("--eval" "(setq vc-handled-backends nil org-startup- command-line() normal-top-level() Test ob-shell/bash-uses-assoc-arrays condition: (ert-test-failed ((should (equal "20 cm" (org-babel-execute-src-block))) :form (equal "20 cm" "50 dl") :value nil :explanation (array-elt 0 (different-atoms (50 "#x32" "?2") (53 "#x35" "?5"))))) FAILED 104/510 ob-shell/bash-uses-assoc-arrays Thanks, Alan =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBCgAGBQJT62Q3AAoJEAQNCjtO0uXHWBMIAL8OR3WPOuSt4V+Iczrb6mfI qEyMEvyjqVLqVSI4WBkGL+EAXhiWiD7xFtbroGtY5sitiaJjxxQ1+XqLwE2yK6PS oK/t5qzpoLz143SFtvf5h6ha1lnK9oWVzB8+STbeGdpQws3bCXlJeA+GyPlzChp5 sp9nVj47CfNmEiEojUM6QxNte+KDQpAmfcvSTlrwngUfHvUNlEt99Cy5taD6AIx/ p2+npI8FpMNwTH1zEnMBHTTIIBFtp9GE7HadROc0fP8HNuqMwkYwvpiQC9FaWy79 unBPSceOuPAKMLzU4Sns9hX+kPt87bdIHKMZHStNVLqSJxsjSkWdelFkiBr32KU= =YUhl -----END PGP SIGNATURE----- --=-=-=--