From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Teemu Likonen Newsgroups: gmane.emacs.devel Subject: Re: Bisecting display bugs Date: Mon, 17 Apr 2017 16:43:44 +0300 Message-ID: <87shl7up2n.fsf@iki.fi> References: <5782E073.6000505@gmail.com> <837fcsdzkj.fsf@gnu.org> <20f2bf0b-8805-103d-9aeb-648317b270d6@gmail.com> <8360rwwxdq.fsf@gnu.org> <4f9332d4-68a8-4179-0ef3-b6aa0bfa04b1@gmail.com> <1492434819178.56131@lanl.gov> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1492436647 15362 195.159.176.226 (17 Apr 2017 13:44:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 17 Apr 2017 13:44:07 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cc: emacs-devel@gnu.org To: Davis Herring Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 17 15:44:02 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d06wi-0003nR-T7 for ged-emacs-devel@m.gmane.org; Mon, 17 Apr 2017 15:44:01 +0200 Original-Received: from localhost ([::1]:36695 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d06wn-00035V-06 for ged-emacs-devel@m.gmane.org; Mon, 17 Apr 2017 09:44:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d06wa-00032V-PW for emacs-devel@gnu.org; Mon, 17 Apr 2017 09:43:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d06wX-0001Vf-N2 for emacs-devel@gnu.org; Mon, 17 Apr 2017 09:43:52 -0400 Original-Received: from mail.kapsi.fi ([2001:1bc8:1004::1:25]:54685) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d06wX-0001Uv-G1 for emacs-devel@gnu.org; Mon, 17 Apr 2017 09:43:49 -0400 Original-Received: from dsl-roibrasgw1-54fb8f-106.dhcp.inet.fi ([84.251.143.106] helo=mithlond.arda) by mail.kapsi.fi with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1d06wT-00053w-2y; Mon, 17 Apr 2017 16:43:45 +0300 Original-Received: from dtw by mithlond.arda with local (Exim 4.84_2) (envelope-from ) id 1d06wS-00019o-Lx; Mon, 17 Apr 2017 16:43:44 +0300 In-Reply-To: <1492434819178.56131@lanl.gov> (Davis Herring's message of "Mon, 17 Apr 2017 13:13:39 +0000") X-SA-Exim-Connect-IP: 84.251.143.106 X-SA-Exim-Mail-From: tlikonen@iki.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:1bc8:1004::1:25 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:214059 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable (Not knowing anything about the discussion itself but adding some shell info...) Davis Herring [2017-04-17 13:13:39Z] wrote: > src/emacs -Q -l ../reproduce.el > if [ $? -eq 1 ]; then exit 125; else exit $?; done Note that the [ command has its own exit code and $? is reset. If [ ... ] is true (=3D0) then "exit 125". If [ ... ] is false (=3D1) then "exit $?" which is always the same as "exit 1". You need to save the exit code before running the [ command: src/emacs -Q -l ../reproduce.el code=3D$? if [ "$code" -eq 1 ]; then exit 125; else exit "$code"; fi =2D-=20 /// Teemu Likonen - .-.. // // PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 /// --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJY9MaQAAoJEJM6NQQefq1R/64IAIfuXfZqICFyyDNnVQyoff49 yTWVNdTux003Nrso+yqxRXX6WgZAxaOF7jkqcpYWGrOJgunV8h2Ck1IwG8C/HSBL D4qBWzFJfiMH1ku7/J3wtmFyjPQwCM9llwoSE2dlXSxZnbD50sqEt2bNy77050p/ 2QBsWBL/VFKohX2HVc5MqTffhw0sFU1D1jQSxFb6zeVizUeBUdCH9zOBF1+5gir5 y+zpejlwEGRjYreK7yfRJE1vB+eYiJpB5wyZIFsawhEQbjgKTViGDwQ0feaZgDMD 2m/n4wC4IgIp87btTPjPwvvEs2S0O0aMujia+qsWCwudAHYDfXSHrjevccZS9m4= =2/rs -----END PGP SIGNATURE----- --=-=-=--