From 5d3cf83abf9123af67b3965dea7ad12022d66c3f Mon Sep 17 00:00:00 2001 From: Azul Date: Tue, 4 Feb 2014 09:43:24 +0100 Subject: unify naming scheme - tapicero_test prefix --- test/config.yaml | 6 +++--- test/setup_couch.sh | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'test') diff --git a/test/config.yaml b/test/config.yaml index 599df4a..e59b4de 100644 --- a/test/config.yaml +++ b/test/config.yaml @@ -9,11 +9,11 @@ connection: port: 5984 username: anna password: secret - prefix: "tapicero-test" + prefix: "tapicero_test" suffix: "" # file to store the last processed user record in so we can resume after # a restart: -seq_file: "/tmp/test-tapicero.seq" -log_file: "/tmp/test-tapicero.log" +seq_file: "/tmp/tapicero_test.seq" +log_file: "/tmp/tapicero_test.log" log_level: debug diff --git a/test/setup_couch.sh b/test/setup_couch.sh index ae28758..c11993d 100644 --- a/test/setup_couch.sh +++ b/test/setup_couch.sh @@ -6,8 +6,8 @@ curl -X GET $HOST echo "creating unprivileged 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 database to watch:" -curl -X PUT $HOST/tapicero-test-users +curl -X PUT $HOST/tapicero_test_users echo "restricting database access :" -curl -X PUT $HOST/tapicero-test-users/_security -Hcontent-type:application/json --data-binary '{"admins":{"names":[],"roles":[]},"members":{"names":["me"],"roles":[]}}' +curl -X PUT $HOST/tapicero_test_users/_security -Hcontent-type:application/json --data-binary '{"admins":{"names":[],"roles":[]},"members":{"names":["me"],"roles":[]}}' echo "adding admin :" curl -X PUT $HOST/_config/admins/anna -d '"secret"' -- cgit v1.2.3