[PATCH 0/4] Cleanup hald test scripts

Guillem Jover guillem.jover at nokia.com
Wed Nov 5 11:18:43 PST 2008


Hi,

On Wed, 2008-11-05 at 09:02:44 +0100, Gilles Dartiguelongue wrote:
> Le mardi 04 novembre 2008 à 00:15 +0200, Guillem Jover a écrit :
> > Actually, disregard this previous patch, here follows some patches to
> > cleanup *all* the testing scripts.
> 
> did you tested those patch with another shell than bash ? (say dash, ash
> or busybox's shell) iirc function declaration is bash specific.

Yes, my /bin/sh points to dash. The "function" keyword is bash
specific, but I'm not using that.

> According to coreutils-6.12 manpages, mktemp templates are deprecated.
> You can always suffix the value it returns if you want to make it a bit
> more visible to the user what this directory is for.

Checking now coreutils' man page for mktemp I see it states that -t is
deprecated (not templates in general), and I guess they expect people to
use --tmpdir instead, but I don't think many other systems implement
that option, making -t way more "portable".

regards,
guillem


More information about the hal mailing list