Re: git commit: Start/Stop CouchDB aronud JS CLI tests.

2011-11-11 Thread Jan Lehnardt
On Nov 11, 2011, at 03:20 , Randall Leeds wrote: > Can someone turn this into a ticket? Good call, thanks for the nudge. > Sounds like we need port=0 and a trap command. I made one for each: https://issues.apache.org/jira/browse/COUCHDB-1338 https://issues.apache.org/jira/browse/COUCH

Re: git commit: Start/Stop CouchDB aronud JS CLI tests.

2011-11-10 Thread Randall Leeds
Can someone turn this into a ticket? Sounds like we need port=0 and a trap command. Also, I noticed that running the tests directly seems to start/stop the server but make check doesn't? Is that correct? On Mon, Oct 31, 2011 at 11:16, Noah Slater wrote: > On Mon, Oct 31, 2011 at 2:38 PM, Paul D

Re: git commit: Start/Stop CouchDB aronud JS CLI tests.

2011-10-31 Thread Noah Slater
On Mon, Oct 31, 2011 at 2:38 PM, Paul Davis wrote: Before I forget, there's also a nifty trap command thing in case its > killed by a signal. There's an example of its use here: > > > https://svn.apache.org/repos/infra/infrastructure/trunk/projects/git/bin/update-mirror.sh > > Not sure how portabl

Re: git commit: Start/Stop CouchDB aronud JS CLI tests.

2011-10-31 Thread Paul Davis
> +make dev > +# start CouchDB > +./utils/run -b -r 1 > +sleep 1 # give it a sec > + >  cat $SCRIPT_DIR/json2.js \ >        $SCRIPT_DIR/sha1.js \ >        $SCRIPT_DIR/oauth.js \ > @@ -45,3 +50,6 @@ cat $SCRIPT_DIR/json2.js \ >        $JS_TEST_DIR/couch_http.js \ >        $JS_TEST_DIR/cli_runner.js

Re: git commit: Start/Stop CouchDB aronud JS CLI tests.

2011-10-31 Thread Jan Lehnardt
On Oct 31, 2011, at 09:41 , Benoit Chesneau wrote: > On Mon, Oct 31, 2011 at 9:37 AM, wrote: >> Updated Branches: >> refs/heads/master 31edafecb -> 6dcd3a4b6 >> >> >> Start/Stop CouchDB aronud JS CLI tests. >> >> >> Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo >> Commit: ht

Re: git commit: Start/Stop CouchDB aronud JS CLI tests.

2011-10-31 Thread Benoit Chesneau
On Mon, Oct 31, 2011 at 9:37 AM, wrote: > Updated Branches: >  refs/heads/master 31edafecb -> 6dcd3a4b6 > > > Start/Stop CouchDB aronud JS CLI tests. > > > Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo > Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/6dcd3a4b > Tree: