From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id SCq5M/BKLmZFhgEAqHPOHw:P1 (envelope-from ) for ; Sun, 28 Apr 2024 15:11:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id SCq5M/BKLmZFhgEAqHPOHw (envelope-from ) for ; Sun, 28 Apr 2024 15:11:12 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=qOzyNsh0; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714309872; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=6s6HzXmpw39sIiqqC4M8NV/qs5FbcbLpmhDDGm/Pd2Q=; b=cTqee02Q6Us5T3dk6wHJp93VUrMPNoFrU8ca0G6hoCvs1oaLQtSVEZMRKMCIyDogBzmgCR npWxLVBmdxONHYCgihwtg5TgrgGOa7f62RVsepy0u+Z+m1avQXngY5CxbmbglbRfSoi7SU COX6FD8dACFwml49s4dJdeuGt4OlyRxcyWz1iZfdDrFW6dyAnP2WhB/Peu9JIJSI3prz8f EKL438EnAN0zgYlJa/bCgjWxO2f291YRXn26OHU5w68S1R+DgmSgBBWCXlPlg67UsgEJwH GxZlXoZQIOK9CDq5357Be1+GnMjegX6DAComSHjQRWnCEK2DFzI58oJoElwgVw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=qOzyNsh0; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714309872; a=rsa-sha256; cv=none; b=DQcfQtUAX+rHaSwJsUppckbb5PIItmoDh/Z3Qnhjcm90//2Kcq30HSZlLoibUwyqENCd5V cim36NOO0OlYuNDcM5F9kLz+vwStVy0Gbpt+aL02jjMbXru6hYVFmqKJ2u3zeowtmY4beu 9bsRVrmp5TKivSFVb0igrdmXig2zU4UCj4sfYoNwZU0RKHYRtH23Ir1Pm9vDhlYdcbQuJL kAGjkzhthyxHByDBdZVLKJcq0hphbmu1lWqgRbBzdZa5ykr0fkQRpr6fZn1im3bGhTWkh8 I9fGfTyiLkbe0/p9uC2Up+rOTASecmf1pkFzw3YTJ2BuXUStAERtPzGDwzuezg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B196669308 for ; Sun, 28 Apr 2024 15:11:12 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s14J0-0002J6-OE; Sun, 28 Apr 2024 09:10:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s14Iy-0002Ih-2z for emacs-orgmode@gnu.org; Sun, 28 Apr 2024 09:10:56 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s14Iw-000684-Dj for emacs-orgmode@gnu.org; Sun, 28 Apr 2024 09:10:55 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id C83DC240103 for ; Sun, 28 Apr 2024 15:10:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1714309851; bh=sBqG7LbpjyWS6A7jrzimBnAC+QAGB9+1p8asZNV/6sY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=qOzyNsh0fXI7yA07eofVE2YPA929hPJRGuIVfDeDoXs+r+hvRPLBXPzL9XQkS4wlV pdNpownoOhYsH38YKWwF81F54zvw/mn7VPgJR+KDzzrDvLc96gJ5zmeyylNK7DlKAo /yog3qrLRoHK7KFmKw7kHKRK3x54qpEmNwDuw8d1I9kBDtgCRk8WBzPzAZC8P35TEG AtYkkKSxxaxxV51Gtg+033hhTZkRknFIju+prK5dEJxkP3PdjhANhAYaUucxGiRAfN lWEUGHEykgaI4MX6qfCtGyRYc9c1i9Aw/53NX4idilxvF1IZpJ0ujrpXVA/a5VKuds q+6ctGqbmkqTA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VS6K70nQzz9rxB; Sun, 28 Apr 2024 15:10:50 +0200 (CEST) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: FAILED test-ob-shell/bash-uses-assoc-arrays In-Reply-To: References: <486d2b818b62c71b3f307305c06c4318@condition-alpha.com> <871q7cypxl.fsf@localhost> <00aa9bf72dc93f6554bdd236fdfba192@condition-alpha.com> <87y19hbb05.fsf@localhost> <8b72386d118136210f27b553f0a13066@condition-alpha.com> <87cyqtyzgt.fsf@localhost> <91dfeb0fed1a1fe0564e5eb9b95a409d@condition-alpha.com> <875xw6ex9h.fsf@localhost> <93ff1be3-70c3-471b-be75-4b016bee6827@gmail.com> <87o79wv0sc.fsf@localhost> Date: Sun, 28 Apr 2024 13:11:52 +0000 Message-ID: <871q6pk4x3.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -7.32 X-Migadu-Queue-Id: B196669308 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -7.32 X-TUID: jOEdeVA3+kbP Max Nikulin writes: >>>>> My guess is that GPLv2 BASH on macOS does not support associative >>>>> arrays. Perhaps these tests should be skipped if BASH_VERSION is not >>>>> fresh enough (not supplied by Apple). >> >> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=e4ab416fc > > Feature detection should be more reliable. > > ;; Old GPLv2 BASH in macOSX does not support associative arrays. > (if-let ((bash (executable-find "bash"))) > (eq 0 (process-file > bash nil nil nil > "-c" "declare -A assoc_array"))) > > Even version check may be performed by shell > > (if-let ((bash (executable-find "bash"))) > (eq 0 (process-file > bash nil nil nil > "-c" "[ ${BASH_VERSINFO[0]} -ge 4 ]"))) Feel free to submit a patch. It is a marginal improvement I will be happy to merge, if a patch is provided. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at