unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Teemu Likonen <tlikonen@iki.fi>
To: Davis Herring <herring@lanl.gov>
Cc: emacs-devel@gnu.org
Subject: Re: Bisecting display bugs
Date: Mon, 17 Apr 2017 16:43:44 +0300	[thread overview]
Message-ID: <87shl7up2n.fsf@iki.fi> (raw)
In-Reply-To: <1492434819178.56131@lanl.gov> (Davis Herring's message of "Mon,  17 Apr 2017 13:13:39 +0000")

[-- Attachment #1: Type: text/plain, Size: 723 bytes --]

(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 (=0) then "exit 125". If [ ... ] is false (=1) 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=$?
    if [ "$code" -eq 1 ]; then exit 125; else exit "$code"; fi

-- 
/// Teemu Likonen   - .-..   <https://keybase.io/tlikonen> //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

      reply	other threads:[~2017-04-17 13:43 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-10 23:55 Bisecting display bugs Clément Pit--Claudel
2016-07-11  1:40 ` Óscar Fuentes
2016-07-11 14:22 ` Eli Zaretskii
2016-07-11 17:46   ` Óscar Fuentes
2016-07-11 17:54     ` Eli Zaretskii
2016-07-11 18:05       ` Óscar Fuentes
2016-07-22 18:55   ` Clément Pit--Claudel
2016-07-23  8:51     ` Eli Zaretskii
2016-07-23 13:22       ` Clément Pit--Claudel
2017-04-16 15:04         ` Clément Pit--Claudel
2017-04-16 15:32           ` Noam Postavsky
2017-04-16 20:57             ` Clément Pit-Claudel
2017-04-17 13:13               ` Herring, Davis
2017-04-17 13:43                 ` Teemu Likonen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87shl7up2n.fsf@iki.fi \
    --to=tlikonen@iki.fi \
    --cc=emacs-devel@gnu.org \
    --cc=herring@lanl.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).