Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1 #!/bin/bash
- 2
- 3 swift --auth-version 2.0 -A http://127.0.0.1:5000/v1.0 -U company:company_admin -K testing post -r User -w User company
- 4 swift --auth-version 2.0 -A http://127.0.0.1:5000/v1.0 -U company:company_user -K testing upload company README
- 5 swift --auth-version 2.0 -A http://127.0.0.1:5000/v1.0 -U company:company_user -K testing download company README -o README_DOWN
- 6 swift --auth-version 2.0 -A http://127.0.0.1:5000/v1.0 -U company:company_user -K testing delete company README
- 7 swift --auth-version 2.0 -A http://127.0.0.1:5000/v1.0 -U company:company_admin -K testing stat -v
- 8 rm README_DOWN
- 9
- 10 echo "finished tests"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement