Re: set test prereqs (Emacs, GDB, GPG) v4

Subject: Re: set test prereqs (Emacs, GDB, GPG) v4

Date: Wed, 02 Nov 2011 18:21:34 +0100

To: Ali Polatel

Cc: notmuch@notmuchmail.org

From: Pieter Praet


On Tue, 1 Nov 2011 22:20:25 +0200, Ali Polatel <polatel@gmail.com> wrote:
> On Tue, Nov 01, 2011 at 08:49:10PM +0100, Pieter Praet wrote:
> >Rebased to current master.
> >
> >Previous version:
> >  id:"1307016220-17509-1-git-send-email-pieter@praet.org"
> >
> >Discussion:
> >  id:"1317660447-27520-1-git-send-email-schnouki@schnouki.net"
> >
> 
> Thanks for the nice work!
> I want to share one thing which came up to my mind during reading
> through them. Since we require bash for tests, we might go for using
> bash's builtin 'type -P foo' instead of 'which foo'. Not that it's
> important, just wondered "why not?"
> 
> 		-alip

Good suggestion!

In fact, we might as well immediately go for full POSIX compliance.

How do you feel about using `hash' ?  Besides being available in POSIX
sh, it has the added benefit of making subsequent lookups faster [*].


Peace

-- 
Pieter

[*] This statement only applies to the shell built-in.  Other types of
    hash may distort your perception of time, which is likely to result
    in significantly slower lookups.

Thread: