]>
Commit | Line | Data |
---|---|---|
05a536ef TL |
1 | #!/usr/bin/env bash |
2 | set -ex | |
3 | ||
4 | # assume working ceph environment (radosgw-admin in path) and rgw on localhost:80 | |
5 | # localhost::443 for ssl | |
6 | ||
7 | mydir=`dirname $0` | |
8 | ||
9 | python3 -m venv $mydir | |
10 | source $mydir/bin/activate | |
11 | pip install pip --upgrade | |
12 | pip install boto3 | |
13 | ||
14 | ## run test | |
15 | $mydir/bin/python3 $mydir/test_rgw_versioning.py | |
16 | ||
17 | deactivate | |
18 | echo OK. | |
19 |