3 # run s3-tests from current directory. assume working
4 # ceph environment (radosgw-admin in path) and rgw on localhost:8000
5 # (the vstart default).
8 [ -z "$1" ] && branch
=master
10 [ -z "$2" ] && port
=8000 # this is vstart's default
19 git clone https
://github.com
/ceph
/s3-tests
21 git checkout ceph-
$branch
28 radosgw-admin user create
--uid=s3test1
--display-name='tester1' \
29 --access-key=$akey1 --secret=$skey1 --email=tester1@ceph.com
33 radosgw-admin user create
--uid=s3test2
--display-name='tester2' \
34 --access-key=$akey2 --secret=$skey2 --email=teester2@ceph.com
38 ## replace with e.g. "localhost" to run against local software
40 ## uncomment the port to use something other than 80
42 ## say "no" to disable TLS
45 ## all the buckets created will start with this prefix;
46 ## {random} will be filled with random characters to pad
47 ## the prefix to 30 characters long, and avoid collisions
48 bucket prefix = s3testbucket-{random}-
50 ## the tests assume two accounts are defined, "main" and "alt".
51 ## user_id is a 64-character hexstring
53 ## display name typically looks more like a unix login, "jdoe" etc
54 display_name = tester1
55 ## replace these with your access keys
58 email = tester1@ceph.com
60 ## another user account, used for ACL-related tests
62 display_name = tester2
63 ## the "alt" user needs to have email set, too
64 email = tester2@ceph.com
69 S3TEST_CONF
=`pwd`/s3.conf
$dir/s3-tests
/virtualenv
/bin
/nosetests
-a '!fails_on_rgw' -v