Re: [PATCH] maint.mk: avoid echo -e

2010-05-26 Thread Jim Meyering
Eric Blake wrote: > There are still other potentially non-portable uses of echo > throughout this file, if $(ME) contains \ or starts with -, > but this patch is a trivial step in the right direction. > > * top/maint.mk (gzip_rsyncable): Convert all uses of echo -* to > printf. > Reported by Matthi

[PATCH] maint.mk: avoid echo -e

2010-05-26 Thread Eric Blake
There are still other potentially non-portable uses of echo throughout this file, if $(ME) contains \ or starts with -, but this patch is a trivial step in the right direction. * top/maint.mk (gzip_rsyncable): Convert all uses of echo -* to printf. Reported by Matthias Bolte. Signed-off-by: Eric

Re: [BLOCKER] cannot single-step unit tests any more

2010-05-26 Thread Paolo Bonzini
On 05/16/2010 10:25 PM, Bruno Haible wrote: + # Test whether "$0" points to a test script. + case "$0" in + *.sh) true;; + *) false;; + esac I think this is not a robust assumption. Maybe something like sh | *[a-z0-9]sh) false;; # $0 is a