From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id WE7JJg2PCmYxlQAA62LTzQ:P1 (envelope-from ) for ; Mon, 01 Apr 2024 12:40:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id WE7JJg2PCmYxlQAA62LTzQ (envelope-from ) for ; Mon, 01 Apr 2024 12:40:13 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1711968013; a=rsa-sha256; cv=none; b=uNf4BwEz3X/0wLBqVqJqNnb7LxapBHNZYkUNn/8a1f878vM9N2nIERvFz9l752SsutIz8o UXUgVF3sTuS9J49Sg9Qr9hc4jJDe4XEqQDCc4wuy4LE5NxiirLJVooMegR2rgpLlbZKirY l52BWGsbDq3gzRWUqBFXmAlzelWa7dvrGUqzw7aJh0SwDMcNHIiWVMg81f280yK6K4EnZg Ic9xflVRYERdb68VVfCv77Co2x6jUV5emqsl9Qzo4I4e/Zd5DRTo7jU4ldXtHzC3c76o5u zCVuLual9u7lphkbLsNGmxddNm0nRKo7xoDqL+RY/YdUZIWw/gFfcgjhqhOnsA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1711968013; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=n2sjJLkhfUvz5HX3e+MScAiBwZL3m8aURVeszEazXcY=; b=fSwUdA5Z1QxB5F+1JjOUj0WEo9Cvk0e4O0FZ7MF1nGGrSkQfikankRC9+ZHnJYlGE7Toa1 K0TvjBDJJdpfcNmU6oyQmcsGk77rbh8HFuWM6QmXjxs4+/R/ymubcxxNXVuY5XN6uMCfbT xQ1Gp9X46CGQ/NDmxRSdRDSkSC65LtJTNEIa+igyU0Rk3TPfEy6EjQ9CpFxK9hfM97S5Kw D+6DnZKmv2ehBdzuXTSVqRnWax44sX5vWyl9r9Z3LH64cuT1cdSme6mGFWOtcNbvws1jSs xFtIIbmoUSXAFL0HycwLpOAJNa+r/8lcbiz89oQXGyxhWvR5UxITrH8X9YBVQA== 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 3C12825361 for ; Mon, 1 Apr 2024 12:40:13 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rrF4O-0004ug-9W; Mon, 01 Apr 2024 06:39:16 -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 1rrF4M-0004uD-Pa for emacs-orgmode@gnu.org; Mon, 01 Apr 2024 06:39:14 -0400 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rrF4L-0001SV-CW for emacs-orgmode@gnu.org; Mon, 01 Apr 2024 06:39:14 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1rrF4J-00093O-7R for emacs-orgmode@gnu.org; Mon, 01 Apr 2024 12:39:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Max Nikulin Subject: Re: [PATCH] Unit tests for function calling MathML converters (Re: Warn about shell-expansion in the docstring of org-latex-to-html-convert-command) Date: Mon, 1 Apr 2024 17:39:04 +0700 Message-ID: References: <87wmr1rc2w.fsf@localhost> <874jdzjqkk.fsf@localhost> <6e49c590-ad27-4fb0-b1f2-6a89c60a0b58@gmail.com> <87msrncxhq.fsf@localhost> <735645dd-1ddf-4579-a6dd-2700f3e83c94@gmail.com> <87jzmdht2w.fsf@localhost> <87sf06g60r.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla Thunderbird Content-Language: en-US, ru-RU In-Reply-To: <87sf06g60r.fsf@localhost> Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 26 X-Spam_score: 2.6 X-Spam_bar: ++ X-Spam_report: (2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -0.68 X-Migadu-Queue-Id: 3C12825361 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -0.68 X-TUID: dqa45WG8KxSe On 31/03/2024 15:27, Ihor Radchenko wrote: > Max Nikulin writes: > >> +(ert-deftest test-org/format-latex-as-html () >> + "Test shell special characters escaping in `org-format-latex-as-html'." >> + (let ((org-latex-to-html-convert-command >> + "printf \"\" %i")) > > I have a concern about this test - it will not work on windows or in I do not mind to add (skip-unless (not (memq system-type '(ms-dos windows-nt)))) > non-standard system shells. We should probably disable the test unless > "printf" can be evaluated in the current system shell. POSIX printf is more portable than "echo". Anyway Makefile expects a POSIX compatible shell. So I believe, it is developer responsibility to run build and test with a sane shell even if they prefer something unusual as the interactive shell.