[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] echo -n is not portable and used too much

From: Branko Čibej <brane_at_xbc.nu>
Date: 2002-02-12 01:50:16 CET

Blair Zajac wrote:

>On Solaris, running make check results in output like this:
>
>make check
>-n Running all tests in path-test...
>SUCCESS
>-n Running all tests in random-test...
>SUCCESS
>-n Running all tests in hashdump-test...
>SUCCESS
>.
>.
>.
>

/bin/echo, -n "\c", tr, .... blech. (Is that a shell built-in? It should
be. :-)

    print "Running all tests in path-test...",

is completely portable. Of course, that's Python.

IMNSHO, everone's efforts would be much better spent rewriting all those
shell scripts in Python. Then all of a sudden, we'd have tests running
on Win32 without cygwin. Oh, joy!

(BTW, to run those tests in cygwin, I have to pipe every `pwd` through
sed, because cygwin insists that c:/ iw in fact /cygdrive/c/, which svn
of course barfs on. Nice.)

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:06 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.