summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2013-06-24 08:19:52 +0200
committerAzul <azul@leap.se>2013-07-01 09:07:45 +0200
commit9f08a5a8c2c5f50946c2c64e798fce2780bb1b17 (patch)
tree1172b84e629dd440ec5bf63f3db34550b70269e9 /test
parentd03e82b4df5075f796f56fb9568992b0ba0d7c07 (diff)
print couch version in test couch setup
This way we can track down couch version related issues on travis.
Diffstat (limited to 'test')
-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 :"