From unknown Tue Jun 17 20:20:05 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#11909 <11909@debbugs.gnu.org> To: bug#11909 <11909@debbugs.gnu.org> Subject: Status: automake 1.12.2 fails t/self-check-explicit-skips.sh on Mac OS X 10.7.4 Reply-To: bug#11909 <11909@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:20:05 +0000 retitle 11909 automake 1.12.2 fails t/self-check-explicit-skips.sh on Mac O= S X 10.7.4 reassign 11909 automake submitter 11909 Max Horn severity 11909 minor tag 11909 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 11 08:43:43 2012 Received: (at submit) by debbugs.gnu.org; 11 Jul 2012 12:43:43 +0000 Received: from localhost ([127.0.0.1]:33213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SowGW-0006MX-4o for submit@debbugs.gnu.org; Wed, 11 Jul 2012 08:43:42 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43586) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SowGJ-0006Lw-Aj for submit@debbugs.gnu.org; Wed, 11 Jul 2012 08:43:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SowAy-0000aL-Hr for submit@debbugs.gnu.org; Wed, 11 Jul 2012 08:37:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:58479) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SowAy-0000aG-Ec for submit@debbugs.gnu.org; Wed, 11 Jul 2012 08:37:52 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SowAs-0005Ip-AD for bug-automake@gnu.org; Wed, 11 Jul 2012 08:37:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SowAm-0000Wp-1M for bug-automake@gnu.org; Wed, 11 Jul 2012 08:37:45 -0400 Received: from wp256.webpack.hosteurope.de ([80.237.133.25]:58192) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SowAl-0000Wb-OC for bug-automake@gnu.org; Wed, 11 Jul 2012 08:37:39 -0400 Received: from dhcp181.math.nat.tu-bs.de ([134.169.53.181]); authenticated by wp256.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) id 1SowAj-0001h2-9J; Wed, 11 Jul 2012 14:37:37 +0200 From: Max Horn Content-Type: multipart/mixed; boundary="Apple-Mail=_85A9F4B8-E3B8-4150-90B9-3CCB2377D818" Subject: automake 1.12.2 fails t/self-check-explicit-skips.sh on Mac OS X 10.7.4 Date: Wed, 11 Jul 2012 14:37:37 +0200 Message-Id: <06CD0AA7-E32B-4942-8828-C83F8D44750D@quendi.de> To: bug-automake@gnu.org Mime-Version: 1.0 (Apple Message framework v1280) X-Mailer: Apple Mail (2.1280) X-bounce-key: webpack.hosteurope.de;max@quendi.de;1342010259;7fe8a658; X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) --Apple-Mail=_85A9F4B8-E3B8-4150-90B9-3CCB2377D818 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi there, turns out there is one more test failure on Mac OS X 10.7.4, in = t/self-check-explicit-skips.sh. Looking at the code, I don't understand = it at all, so please don't torch me if this isn't a bug in the automake = test suite but rather in Mac OS X :). I just want to know what is = causing this and whether I should ignore it, disable the test, or apply = some patch. Attached is the log of the failed test. Thanks! Max --Apple-Mail=_85A9F4B8-E3B8-4150-90B9-3CCB2377D818 Content-Disposition: attachment; filename=self-check-explicit-skips.log Content-Type: application/octet-stream; name="self-check-explicit-skips.log" Content-Transfer-Encoding: 7bit Running from installcheck: no Using TAP: no PATH = /sw/src/automake-1.12.2-test/t/ax:/sw/src/automake-1.12.2-test/t/wrap:/usr/texbin:/usr/local/bin:/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/MacGPG2/bin:/usr/X11R6/bin:/Developer/Tools:/Applications/Magma/:/Users/mhorn/Library/Haskell/bin +++ pwd /sw/src/automake-1.12.2-test + set +e + unset am_explicit_skips stderr_fileno_ + run_dummy_test '(exit 77); exit 77' + env /bin/sh -c ' am_create_testdir=no . ./defs (exit 77); exit 77 ' dummy.sh Running from installcheck: no Using TAP: no PATH = /sw/src/automake-1.12.2-test/t/ax:/sw/src/automake-1.12.2-test/t/wrap:/sw/src/automake-1.12.2-test/t/ax:/sw/src/automake-1.12.2-test/t/wrap:/usr/texbin:/usr/local/bin:/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/MacGPG2/bin:/usr/X11R6/bin:/Developer/Tools:/Applications/Magma/:/Users/mhorn/Library/Haskell/bin +++ pwd /sw/src/automake-1.12.2-test + _am_exit 77 + set +e + test 77 = 77 + am__test_skipped=yes + exit 77 + exit 77 + _am_exit 77 + set +e + test 77 = 77 + am__test_skipped=yes + exit 77 + exit 77 + exit_status=77 + set +e + cd /sw/src/automake-1.12.2-test + test no = yes + case $am_explicit_skips in + test 77 -eq 0 + keep_testdirs=yes + am_keeping_testdirs + case $keep_testdirs in + return 0 + set +x dummy: exit 77 + test 77 -eq 77 + run_dummy_test 'sh -c "exit 77"' am_explicit_skips=no + env am_explicit_skips=no /bin/sh -c ' am_create_testdir=no . ./defs sh -c "exit 77" ' dummy.sh Running from installcheck: no Using TAP: no PATH = /sw/src/automake-1.12.2-test/t/ax:/sw/src/automake-1.12.2-test/t/wrap:/sw/src/automake-1.12.2-test/t/ax:/sw/src/automake-1.12.2-test/t/wrap:/usr/texbin:/usr/local/bin:/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/MacGPG2/bin:/usr/X11R6/bin:/Developer/Tools:/Applications/Magma/:/Users/mhorn/Library/Haskell/bin +++ pwd /sw/src/automake-1.12.2-test + sh -c 'exit 77' + exit_status=77 + set +e + cd /sw/src/automake-1.12.2-test + test no = yes + case $am_explicit_skips in + test 77 -eq 0 + keep_testdirs=yes + am_keeping_testdirs + case $keep_testdirs in + return 0 + set +x dummy: exit 77 + test 77 -eq 77 + run_dummy_test '(exit 77); exit 77' am_explicit_skips=yes + env am_explicit_skips=yes /bin/sh -c ' am_create_testdir=no . ./defs (exit 77); exit 77 ' dummy.sh Running from installcheck: no Using TAP: no PATH = /sw/src/automake-1.12.2-test/t/ax:/sw/src/automake-1.12.2-test/t/wrap:/sw/src/automake-1.12.2-test/t/ax:/sw/src/automake-1.12.2-test/t/wrap:/usr/texbin:/usr/local/bin:/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/MacGPG2/bin:/usr/X11R6/bin:/Developer/Tools:/Applications/Magma/:/Users/mhorn/Library/Haskell/bin +++ pwd /sw/src/automake-1.12.2-test + _am_exit 77 + set +e + test 77 = 77 + am__test_skipped=yes + exit 77 + exit 77 + _am_exit 77 + set +e + test 77 = 77 + am__test_skipped=yes + exit 77 + exit 77 + exit_status=77 + set +e + cd /sw/src/automake-1.12.2-test + test no = yes + case $am_explicit_skips in + test 77 -eq 77 + test yes '!=' yes + test 77 -eq 0 + keep_testdirs=yes + am_keeping_testdirs + case $keep_testdirs in + return 0 + set +x dummy: exit 77 + test 77 -eq 78 + _am_exit 1 + set +e + test 77 = 1 + exit 1 + exit 1 + exit_status=1 + set +e + cd /sw/src/automake-1.12.2-test + test no = yes + case $am_explicit_skips in + test 1 -eq 0 + keep_testdirs=yes + am_keeping_testdirs + case $keep_testdirs in + return 0 + set +x self-check-explicit-skips: exit 1 --Apple-Mail=_85A9F4B8-E3B8-4150-90B9-3CCB2377D818-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 14 07:44:43 2012 Received: (at 11909) by debbugs.gnu.org; 14 Jul 2012 11:44:43 +0000 Received: from localhost ([127.0.0.1]:40324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sq0mA-0003hg-Ox for submit@debbugs.gnu.org; Sat, 14 Jul 2012 07:44:43 -0400 Received: from mail-bk0-f44.google.com ([209.85.214.44]:49160) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sq0m8-0003hV-Or; Sat, 14 Jul 2012 07:44:41 -0400 Received: by bkty7 with SMTP id y7so3138100bkt.3 for ; Sat, 14 Jul 2012 04:38:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=Fku/WuxtPEkNa91vEpJiaiFGBCIN3j3OJQGziRiyvZ8=; b=WeaeTBlmkoYYzFOuVrlrQl+K6pPFCURNseAdwL7AhO/Q+AlldCamz2aMqCaCDpifIE 8jcbtNbhPqXK0Xdq/NNSRF8UIpL4NlZ09EjAqJ7TB2P+zVD6EKY1TsIQdJNjQjc5xQNL QVUVp+smpchcBvJxRjWv1zi2VHuiyHF7rRHyEBEtohMQl+BokU8ubHJVEmBzPAFJivXE srJmfhDfBWzGnEdhQ2AzOD1VqzlgcsmLQolmDC5tlBVL1LzM3ZZkFxwq+ZbwSKPsiOvc +zUnhKNTbISjIl2EbWsukMylBjH9oerOBIvdseVArQXg6eahGZkOkukgInMNIJxSCTPj kV2g== Received: by 10.204.128.65 with SMTP id j1mr2365282bks.93.1342265936713; Sat, 14 Jul 2012 04:38:56 -0700 (PDT) Received: from [79.10.95.133] (host133-95-dynamic.10-79-r.retail.telecomitalia.it. [79.10.95.133]) by mx.google.com with ESMTPS id gq2sm5741044bkc.13.2012.07.14.04.38.54 (version=SSLv3 cipher=OTHER); Sat, 14 Jul 2012 04:38:55 -0700 (PDT) Message-ID: <50015A4C.6040205@gmail.com> Date: Sat, 14 Jul 2012 13:38:52 +0200 From: Stefano Lattarini MIME-Version: 1.0 To: Max Horn Subject: Re: bug#11909: automake 1.12.2 fails t/self-check-explicit-skips.sh on Mac OS X 10.7.4 References: <06CD0AA7-E32B-4942-8828-C83F8D44750D@quendi.de> In-Reply-To: <06CD0AA7-E32B-4942-8828-C83F8D44750D@quendi.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 11909 Cc: 11909@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) severity 11909 minor thanks On 07/11/2012 02:37 PM, Max Horn wrote: > Hi there, > Hi Max, sorry for the delay. > turns out there is one more test failure on Mac OS X 10.7.4, > in t/self-check-explicit-skips.sh. > I can reproduce the issue with bash 3.2 on Debian. > Looking at the code, I don't understand it at all, so please don't > torch me if this isn't a bug in the automake test suite but rather > in Mac OS X :). > It's probably a limitation on older bash versions, that breaks an invariant the Automake testsuite framework expects. Probably nothing serious, but I will attempt a fix since I can reproduce the problem. > I just want to know what is causing this and whether I should ignore > it, disable the test, or apply some patch. > I hope I'll manage to fix it soon, but for the moment, just ignore it. Thanks, Stefano From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 14 08:04:36 2012 Received: (at 11909) by debbugs.gnu.org; 14 Jul 2012 12:04:36 +0000 Received: from localhost ([127.0.0.1]:40356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sq15P-00050m-P2 for submit@debbugs.gnu.org; Sat, 14 Jul 2012 08:04:36 -0400 Received: from mail-bk0-f44.google.com ([209.85.214.44]:45765) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sq15N-00050W-LV; Sat, 14 Jul 2012 08:04:34 -0400 Received: by bkty7 with SMTP id y7so3142430bkt.3 for ; Sat, 14 Jul 2012 04:58:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:mime-version:to:cc:subject:references :in-reply-to:content-type; bh=7/OlkyPV3XcM9rDLZejVxPkZ9Qet+sKcuiB3u4Qcu9w=; b=CNSONH/Zmll7t/w8vVTwwLobtaVlo3lF2B9PGSMDejInh1v3AiN9AvGQ7Is5rzfy5t 1yU5bDAKDXMGomQy+OHrnRjJQ8lV04jl0wfsvmYRJAi3IGJ976hSHwDzINw45b5Y/WGV VI39I1uuT6TFZrIkgDHSgmMmDH2S28ShUFjxJCDetA+nNXyq1BQo+f4Qlz37pnpYtUsX RWy0S8KvYBhwESHUHgSMlukFcZLLPgE2Ww7jCbndX+0Dxiul7vG3q1qGLdq53nGTPmSd rIXC/FhFvlcBos1tYlDsKndfnWDD0D1yux3VWXNyT6mIRvROEp8MyNEC2SW6kbsFQ9sC jGqA== Received: by 10.204.154.214 with SMTP id p22mr2497275bkw.111.1342267129655; Sat, 14 Jul 2012 04:58:49 -0700 (PDT) Received: from [79.10.95.133] (host133-95-dynamic.10-79-r.retail.telecomitalia.it. [79.10.95.133]) by mx.google.com with ESMTPS id z19sm1764893bkw.10.2012.07.14.04.58.47 (version=SSLv3 cipher=OTHER); Sat, 14 Jul 2012 04:58:48 -0700 (PDT) Message-ID: <50015EF5.7060803@gmail.com> Date: Sat, 14 Jul 2012 13:58:45 +0200 From: Stefano Lattarini MIME-Version: 1.0 To: Max Horn Subject: Re: bug#11909: automake 1.12.2 fails t/self-check-explicit-skips.sh on Mac OS X 10.7.4 References: <06CD0AA7-E32B-4942-8828-C83F8D44750D@quendi.de> <50015A4C.6040205@gmail.com> In-Reply-To: <50015A4C.6040205@gmail.com> Content-Type: multipart/mixed; boundary="------------000807060108010505040108" X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 11909 Cc: 11909@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) This is a multi-part message in MIME format. --------------000807060108010505040108 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit tags 11909 + patch thanks On 07/14/2012 01:38 PM, Stefano Lattarini wrote: > severity 11909 minor > thanks > > On 07/11/2012 02:37 PM, Max Horn wrote: >> Hi there, >> > Hi Max, sorry for the delay. > >> turns out there is one more test failure on Mac OS X 10.7.4, >> in t/self-check-explicit-skips.sh. >> > I can reproduce the issue with bash 3.2 on Debian. > >> Looking at the code, I don't understand it at all, so please don't >> torch me if this isn't a bug in the automake test suite but rather >> in Mac OS X :). >> > It's probably a limitation on older bash versions, that breaks an > invariant the Automake testsuite framework expects. Probably nothing > serious, but I will attempt a fix since I can reproduce the problem. > >> I just want to know what is causing this and whether I should ignore >> it, disable the test, or apply some patch. >> > I hope I'll manage to fix it soon, but for the moment, just ignore it. > OK, the issue was due to the fact that the test was still trying use cases that are no more relevant nor supported now that we've got rid of the need to use the 'Exit' function. The attached patch seems to fix the problem. Can you confirm it works? Regards, Stefano --------------000807060108010505040108 Content-Type: text/x-diff; name="0001-self-tests-avoid-spurious-failures-on-older-bash.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-self-tests-avoid-spurious-failures-on-older-bash.patch" >From 9a2febc11c729d7c84809b1fe89333361bf6b769 Mon Sep 17 00:00:00 2001 Message-Id: <9a2febc11c729d7c84809b1fe89333361bf6b769.1342266999.git.stefano.lattarini@gmail.com> From: Stefano Lattarini Date: Sat, 14 Jul 2012 13:56:34 +0200 Subject: [PATCH] self tests: avoid spurious failures on older bash Fixes automake bug#11909. * t/self-check-explicit-skips.sh: Remove or rework few checks for use cases that are no more relevant nor supported now that we've got rid of the need to use the 'Exit' function explicitly. Make the other existing checks stricter. Signed-off-by: Stefano Lattarini --- t/self-check-explicit-skips.sh | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/t/self-check-explicit-skips.sh b/t/self-check-explicit-skips.sh index eb60dc2..32f69291 100755 --- a/t/self-check-explicit-skips.sh +++ b/t/self-check-explicit-skips.sh @@ -36,22 +36,19 @@ run_dummy_test () " dummy.sh } -run_dummy_test '(exit 77); exit 77' +run_dummy_test 'exit 77' test $? -eq 77 || exit 1 run_dummy_test 'sh -c "exit 77"' am_explicit_skips=no test $? -eq 77 || exit 1 -run_dummy_test '(exit 77); exit 77' am_explicit_skips=yes +run_dummy_test '$PERL -e "exit 77"; true' am_explicit_skips=yes test $? -eq 78 || exit 1 -run_dummy_test 'sh -c "exit 77"' am_explicit_skips=y +run_dummy_test 'sh -c "exit 77"; exit 0' am_explicit_skips=y test $? -eq 78 || exit 1 -run_dummy_test 'exit 77' am_explicit_skips=yes -test $? -eq 77 || exit 1 - -run_dummy_test 'skip_ "foo"' am_explicit_skips=y +run_dummy_test 'skip_ "foo"; :' am_explicit_skips=y test $? -eq 77 || exit 1 : -- 1.7.9.5 --------------000807060108010505040108-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 23 05:56:02 2012 Received: (at 11909) by debbugs.gnu.org; 23 Jul 2012 09:56:02 +0000 Received: from localhost ([127.0.0.1]:59114 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1StFMw-0004Y3-Gh for submit@debbugs.gnu.org; Mon, 23 Jul 2012 05:56:02 -0400 Received: from mail-bk0-f44.google.com ([209.85.214.44]:58825) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1StFMu-0004Xc-Ig; Mon, 23 Jul 2012 05:56:01 -0400 Received: by bkty7 with SMTP id y7so4458578bkt.3 for ; Mon, 23 Jul 2012 02:49:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:mime-version:to:cc:subject:references :in-reply-to:content-type; bh=JSLHbPc5UhoaucGdKjtNAl2DfkZnD4u/xojy7ADOyNg=; b=v/Dgso3oBMLHHdd2aWSPCRW72KpLWXRtjEyF9mMmwtI67PVxW1jkzHpCdTVhu+LORX sbV+A0Uy6OWvsVjfTfoKWn3vGjImID4Nm6LEqM9n0A36hgJj7ZhQ32o6Jnv2k8/Zfug7 UeNi3G0+5heFRPY0EnIbwsCt4LlUpnCs7vAf4tmLB1rwoMYAENqn2W5ENE6/Hux49zn3 oEsq5gvlKq7m2kGluXkmH2BBY5HQqlpiv1NZhmLRQO92zNy+YxGyu72jc+f5Z+UrLl9P S6p1ynrYFjv6r61sPfa7ikRzZByEL+UD3p7hkQu6NjgmaD1vtwp9cxY5vbkGUMj8aIg6 njEw== Received: by 10.152.124.180 with SMTP id mj20mr16109222lab.43.1343036966364; Mon, 23 Jul 2012 02:49:26 -0700 (PDT) Received: from [192.168.178.21] (host105-96-dynamic.4-87-r.retail.telecomitalia.it. [87.4.96.105]) by mx.google.com with ESMTPS id jj5sm12947457lab.1.2012.07.23.02.49.24 (version=SSLv3 cipher=OTHER); Mon, 23 Jul 2012 02:49:25 -0700 (PDT) Message-ID: <500D1E22.30702@gmail.com> Date: Mon, 23 Jul 2012 11:49:22 +0200 From: Stefano Lattarini MIME-Version: 1.0 To: Max Horn Subject: Re: bug#11909: automake 1.12.2 fails t/self-check-explicit-skips.sh on Mac OS X 10.7.4 References: <06CD0AA7-E32B-4942-8828-C83F8D44750D@quendi.de> <50015A4C.6040205@gmail.com> In-Reply-To: <50015A4C.6040205@gmail.com> Content-Type: multipart/mixed; boundary="------------020500050307070503050301" X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 11909 Cc: 11909@debbugs.gnu.org, "automake-patches@gnu.org" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) This is a multi-part message in MIME format. --------------020500050307070503050301 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit tags 11909 + patch close 11909 thanks On 07/14/2012 01:38 PM, Stefano Lattarini wrote: > > On 07/11/2012 02:37 PM, Max Horn wrote: >> >> turns out there is one more test failure on Mac OS X 10.7.4, >> in t/self-check-explicit-skips.sh. >> > I can reproduce the issue with bash 3.2 on Debian. > >> Looking at the code, I don't understand it at all, so please don't >> torch me if this isn't a bug in the automake test suite but rather >> in Mac OS X :). >> > It's probably a limitation on older bash versions, that breaks an > invariant the Automake testsuite framework expects. Probably nothing > serious, but I will attempt a fix since I can reproduce the problem. > >> I just want to know what is causing this and whether I should ignore >> it, disable the test, or apply some patch. >> > I hope I'll manage to fix it soon, but for the moment, just ignore it. > I've pushed the attached patch, that fixes the problem for me. I'm thus closing this bug report. In case the problem persist on Mac OS X, feel free to re-open it. Thanks, Stefano --------------020500050307070503050301 Content-Type: text/x-diff; name="0001-self-tests-avoid-spurious-failures-on-older-bash.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-self-tests-avoid-spurious-failures-on-older-bash.patch" >From 7519d2634bdac6763ef2d57b3aff00f37c086a30 Mon Sep 17 00:00:00 2001 Message-Id: <7519d2634bdac6763ef2d57b3aff00f37c086a30.1343036892.git.stefano.lattarini@gmail.com> From: Stefano Lattarini Date: Sat, 14 Jul 2012 13:56:34 +0200 Subject: [PATCH] self tests: avoid spurious failures on older bash Fixes automake bug#11909. * t/self-check-explicit-skips.sh: Remove or rework few checks for use cases that are no more relevant nor supported now that we've got rid of the need to use the 'Exit' function explicitly. Make the other existing checks stricter. Signed-off-by: Stefano Lattarini --- t/self-check-explicit-skips.sh | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/t/self-check-explicit-skips.sh b/t/self-check-explicit-skips.sh index eb60dc2..97f5288 100755 --- a/t/self-check-explicit-skips.sh +++ b/t/self-check-explicit-skips.sh @@ -36,22 +36,19 @@ run_dummy_test () " dummy.sh } -run_dummy_test '(exit 77); exit 77' +run_dummy_test 'exit 77' test $? -eq 77 || exit 1 run_dummy_test 'sh -c "exit 77"' am_explicit_skips=no test $? -eq 77 || exit 1 -run_dummy_test '(exit 77); exit 77' am_explicit_skips=yes +run_dummy_test '$PERL -e "exit 77"; true' am_explicit_skips=yes test $? -eq 78 || exit 1 -run_dummy_test 'sh -c "exit 77"' am_explicit_skips=y +run_dummy_test 'sh -c "exit 77"; exit 0' am_explicit_skips=y test $? -eq 78 || exit 1 -run_dummy_test 'exit 77' am_explicit_skips=yes -test $? -eq 77 || exit 1 - -run_dummy_test 'skip_ "foo"' am_explicit_skips=y +run_dummy_test 'skip_ "foo"; :' am_explicit_skips=y test $? -eq 77 || exit 1 : -- 1.7.10.4 --------------020500050307070503050301-- From unknown Tue Jun 17 20:20:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 20 Aug 2012 11:24:02 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator