mirror of
https://github.com/ceph/ceph
synced 2025-01-09 04:30:26 +00:00
17 lines
257 B
Bash
17 lines
257 B
Bash
|
#!/usr/bin/env bash
|
||
|
set -ex
|
||
|
mydir=`dirname $0`
|
||
|
|
||
|
python3 -m venv $mydir
|
||
|
source $mydir/bin/activate
|
||
|
pip install pip --upgrade
|
||
|
pip install redis
|
||
|
pip install configobj
|
||
|
pip install boto3
|
||
|
|
||
|
# run test
|
||
|
$mydir/bin/python3 $mydir/test_rgw_d4n.py
|
||
|
|
||
|
deactivate
|
||
|
echo OK.
|