All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Martin Shepherd <mcs@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] Fixing xeno-test
Date: Tue, 14 Apr 2009 15:15:53 +0200	[thread overview]
Message-ID: <49E48C89.1050806@domain.hid> (raw)
In-Reply-To: <Pine.LNX.4.64.0904131821010.12546@domain.hid>

Martin Shepherd wrote:
> I have been working on fixing the problems in xeno-test that I
> reported a few days ago. After spending most of yesterday fighting
> with the broken signal-handling behavior of the various bourne-shell
> derivatives, I came to the conclusion that it was impossible to
> reliably and portably clean up background workload processes using
> just shell signal handling. I thus decided to write a separate program
> that xeno-test could invoke, which would take care of running the
> background processes, restart any that terminated before xeno-test
> ended, and terminate them when xeno-test either exited normally or was
> terminated by a signal. I have done this now, incorporated it into
> xeno-test, and tested it while running xeno-test under bash, dash and
> busybox. My question is whether this approach is acceptible, and if
> so, how I should submit it for incorporation in xenomai?

I'd prefer to avoid adding this new program. xeno-test is already more
complicated than I would like, and I am almost sure that we can handle
differences between the shells by testing what shell we are running (for
instance using the SHELL variable) and using some explicit "ifs" in the
script.

> 
> In particular, for the program that manages the background workload
> processes (which is currently called xeno-stress), should I create a
> new directory for this under xenomai-head/src/testsuite/, and set up
> makefiles etc there, or should it go somewhere else?
> 
> In case anybody wants to see the code first, you can find the program
> source code and a simple makefile for compiling it, at:
> 
>    http://www.astro.caltech.edu/~mcs/xenomai/xeno-stress.c

I get a 404.

-- 
                                                 Gilles.


  reply	other threads:[~2009-04-14 13:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-14  1:55 [Xenomai-core] Fixing xeno-test Martin Shepherd
2009-04-14 13:15 ` Gilles Chanteperdrix [this message]
2009-04-14 18:29   ` Martin Shepherd

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

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

  git send-email \
    --in-reply-to=49E48C89.1050806@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=mcs@domain.hid \
    --cc=xenomai@xenomai.org \
    /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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.