summaryrefslogtreecommitdiff
path: root/test/setup_couch.sh
diff options
context:
space:
mode:
authorazul <azul@riseup.net>2013-07-12 00:08:57 -0700
committerazul <azul@riseup.net>2013-07-12 00:08:57 -0700
commitf0be09a92f24ddd11adb531e10c8ec6e525bf520 (patch)
tree2504268a31c46897404e91a0a2116ea8ec6874ef /test/setup_couch.sh
parente1219611dacb59cd51652806fb4c1cc79ea44a7e (diff)
parent9f08a5a8c2c5f50946c2c64e798fce2780bb1b17 (diff)
Merge pull request #49 from azul/test/print-couchdb-version-on-travis
print couch version in test couch setup
Diffstat (limited to 'test/setup_couch.sh')
-rwxr-xr-xtest/setup_couch.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/setup_couch.sh b/test/setup_couch.sh
index 39e264f..0502c12 100755
--- a/test/setup_couch.sh
+++ b/test/setup_couch.sh
@@ -1,6 +1,8 @@
#!/bin/bash
HOST="http://localhost:5984"
+echo "couch version :"
+curl -X GET $HOST
echo "creating user :"
curl -HContent-Type:application/json -XPUT $HOST/_users/org.couchdb.user:me --data-binary '{"_id": "org.couchdb.user:me","name": "me","roles": [],"type": "user","password": "pwd"}'
echo "creating databases :"