On Tue, Nov 11, 2008 at 13:54:52 +1100, Trent W. Buck wrote:
> These are the kinds of issues that make me wonder if zooko's idea of
> writing all the tests in Haskell would be less hassle -- theoretically
> then the test code would either be correct on all systems, or none.

I still like David's idea of holding out for a portable shell
implementation that can run our tests, like Stephen Hick's shsh
   http://code.haskell.org/shsh

The idea is that we could implement our own cheap and cheerful
GNU-ish grep, sed, etc (like the current hspwd).

The idea is that we would then gain the portability that we so painfully
have to extract from these tests, while retaining the the ease of use
that shell tests provide (easy for people to submit test cases, easy for
us to write and understand tests, easy for us to copy and paste the
instructions into a shell for interactive debugging).

Would this be an acceptable solution?

Barring that, we could write a wiki page summing up our knowledge on
how to write portable shell tests.

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9

Attachment: signature.asc
Description: Digital signature

_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to