Jason Gerlowski commented on SOLR-11749:

I'm a big fan of this as an idea.  I've been toying with some bin/solr changes 
recently, but the lack of tests has been a real burden.  Conceivably if we get 
a good suite of tests here, we could even hook them into {{ant test}} so it 
runs as a part of ant command most people run.

The only downside is that having these tests in bash/batch means we'll need two 
copies of the same test-logic (one in bash, one in Windows batch script).  Not 
sure of a way around that.  Technically the logic could be in Java, but it'd be 
full of a bunch of {{isWindows}}/{{isLinux}} conditionals, which wouldn't be 
much better.  Just thinking aloud here...

Anyways, if you don't mind, I'll add a few example tests to the minimal start 
you attached above, and see what we can learn from that. 

> regression-test-like functionality for bin/solr*
> ------------------------------------------------
>                 Key: SOLR-11749
>                 URL: https://issues.apache.org/jira/browse/SOLR-11749
>             Project: Solr
>          Issue Type: Wish
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: scripts and tools
>            Reporter: Christine Poerschke
>            Priority: Minor
>         Attachments: SOLR-11749.patch

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to