[darcs-users] darcs patch: Do not use Perl test harness. (and 3 more)

David Roundy daveroundy at gmail.com
Fri Oct 17 15:21:07 UTC 2008

On Fri, Oct 17, 2008 at 1:58 AM, Max Battcher <me at worldmaker.net> wrote:
>> There's a Haskell library called HSH which might help in this respect,
>> e.g. you could do something along the lines of
>>     test_issue33 = assert_succeeds $ "darcs changes --xml" -|- "xmllint"
>> Where "darcs changes --xml" and "xmllint" are run by the shell.
> Also interesting to note that HSH.ShellEquivs encourages pure Haskell
> equivalents to grep:
> http://software.complete.org/static/hsh/doc//HSH/HSH-ShellEquivs.html
> This has come up as an issue in testing recently for the Solaris
> buildbot, due to differences in greps (not to mention that Windows users
> might not have grep installed).
> Bash shell scripts to HSH-based Haskell seems like potentially something
> a Haskell novice could do (as in I could see myself converting a few to
> practice writing Haskell).

I'd rather see a sh-compatible tool written in haskell with builtin
grep  etc.  A friend is working on  one, and I'm willing to wait  a
few weeks to see how it progresses.  It's very nice being able to copy
from the tests into  my bash shell when trying  to figure out what's
going  wrong.


More information about the darcs-users mailing list