3f18f021bd
This test suite plans to tests following gswauth commands:- 1. swauth-prep 2. swauth-add-account 3. swauth-delete-account 4. swauth-add-user 5. swauth-delete-user 6. swauth-set-account-service 7. swauth-cleanup-tokens 8. swauth-list It uses 'commands' python module to execute gswauthcommands, and capture the status and output of commands followed by asserts to verify if the captured status and output is same as expected ones.This initial draft has tests for first 1-5 commands. Change-Id: I8591884e87c6ffd88446aacd04a1db2daab2d189 Signed-off-by: Pushpesh Sharma <psharma@redhat.com> Reviewed-on: http://review.gluster.org/6277 Reviewed-by: Luis Pabon <lpabon@redhat.com> Tested-by: Luis Pabon <lpabon@redhat.com>
59 lines
1.4 KiB
Plaintext
59 lines
1.4 KiB
Plaintext
[func_test]
|
|
# sample config
|
|
auth_host = 127.0.0.1
|
|
auth_port = 8080
|
|
auth_ssl = no
|
|
auth_prefix = /auth/
|
|
## sample config for Swift with Keystone
|
|
#auth_version = 2
|
|
#auth_host = localhost
|
|
#auth_port = 5000
|
|
#auth_ssl = no
|
|
#auth_prefix = /v2.0/
|
|
|
|
# GSWauth internal admin user configuration information
|
|
admin_key = gswauthkey
|
|
admin_user = .super_admin
|
|
|
|
# Gluster setup information
|
|
devices = /mnt/gluster-object
|
|
gsmetadata_volume = gsmetadata
|
|
|
|
# Primary functional test account (needs admin access to the account)
|
|
account = test
|
|
username = tester
|
|
password = testing
|
|
|
|
# User on a second account (needs admin access to the account)
|
|
account2 = test2
|
|
username2 = tester2
|
|
password2 = testing2
|
|
|
|
# User on same account as first, but without admin access
|
|
username3 = tester3
|
|
password3 = testing3
|
|
|
|
# Default constraints if not defined here, the test runner will try
|
|
# to set them from /etc/swift/swift.conf. If that file isn't found,
|
|
# the test runner will skip tests that depend on these values.
|
|
# Note that the cluster must have "sane" values for the test suite to pass.
|
|
#max_file_size = 5368709122
|
|
#max_meta_name_length = 128
|
|
#max_meta_value_length = 256
|
|
#max_meta_count = 90
|
|
#max_meta_overall_size = 4096
|
|
#max_object_name_length = 1024
|
|
#container_listing_limit = 10000
|
|
#account_listing_limit = 10000
|
|
#max_account_name_length = 256
|
|
#max_container_name_length = 256
|
|
normalized_urls = True
|
|
|
|
collate = C
|
|
|
|
[unit_test]
|
|
fake_syslog = False
|
|
|
|
[probe_test]
|
|
# check_server_timeout = 30
|