All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: Max Kellermann <max@duempel.org>
Cc: Netfilter development mailing list <netfilter-devel@lists.netfilter.org>
Subject: Re: [PATCH nfsim] tcpsession: implement the RESET command
Date: Mon, 10 Oct 2005 23:03:30 +1000	[thread overview]
Message-ID: <1128949410.5611.105.camel@localhost.localdomain> (raw)
In-Reply-To: <20051010115146.GB25457@roonstrasse.net>

On Mon, 2005-10-10 at 13:51 +0200, Max Kellermann wrote:
> On 2005/10/10 12:37, Rusty Russell <rusty@rustcorp.com.au> wrote:
> > OK, I've merged them all, with a fair bit of rewriting to do with the
> > backtick code (yeah, I gave in).  The main change (other than cleaning
> > up the allocations using talloc and using popen) is that extensions must
> > be in $NFSIM_EXTPATH.  This defaults to tools/extensions/ if we're in
> > the build dir, or /usr/lib/nfsim/ otherwise.  Does this make sense to
> > you?
> 
> That assumes that nfsim provides the extensions, or that extensions
> have to be installed in one of those paths.  IMHO, the extensions may
> be shipped along with a test.  e.g. my h323 tests ship their own
> tools.  To make testing easy, it should be possible to use extensions
> without installing them (i.e. without root access?).

I assumed you would want to merge your tests into nfsim-testsuite...

> It also assumes that you _only_ use programs in /usr/lib/nfsim/ - what
> if someone wants to call a program in /usr/bin/?  This lockout gives
> us no advantage.
> 
> I'd prefer to just prepend ".:/usr/lib/nfsim:" to $PATH and let the shell
> search, instead of manually prepending extension_path+"/" to the
> command.
> 
> I'd also rename the default path to /usr/lib/nfsim/extensions, to make
> room for more nfsim related files in the future.

OK, how about this:
(1) Use $NFSIM_EXTPATH if set, else
(1) Use ".:tools/extensions:$PATH" if we're in the nfsim dir, else
(2) Use ".:/usr/lib/nfsim/extensions:$PATH" if we're not.

I'll patch it now...
Rusty.
-- 
A bad analogy is like a leaky screwdriver -- Richard Braakman

  reply	other threads:[~2005-10-10 13:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-22  8:24 [PATCH nfsim] tcpsession: implement the RESET command Max Kellermann
2005-10-07 17:53 ` Rusty Russell
     [not found]   ` <20051008090622.GA9337@roonstrasse.net>
2005-10-10 10:37     ` Rusty Russell
2005-10-10 11:51       ` Max Kellermann
2005-10-10 13:03         ` Rusty Russell [this message]
2005-10-10 13:14           ` Max Kellermann
2005-10-11 10:34             ` Rusty Russell

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=1128949410.5611.105.camel@localhost.localdomain \
    --to=rusty@rustcorp.com.au \
    --cc=max@duempel.org \
    --cc=netfilter-devel@lists.netfilter.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.