]>
git.proxmox.com Git - ceph.git/blob - ceph/src/test/run-rbd-tests
4 # this should be run from the src directory in the ceph.git
6 source $
(dirname $0)/detect-build-env-vars.sh
7 CEPH_SRC
=$CEPH_ROOT/src
8 if [ -e CMakeCache.txt
]; then
9 CYTHON_MODULES_DIR
=$CEPH_LIB/cython_modules
11 CYTHON_MODULES_DIR
=$CEPH_SRC/build
14 export PYTHONPATH
="$CEPH_SRC/pybind:$CEPH_SRC/test/pybind"
15 for x
in $CYTHON_MODULES_DIR/lib
* ; do
16 PYTHONPATH
="${PYTHONPATH}:${x}"
22 ceph osd pool delete
$POOL_NAME $POOL_NAME --yes-i-really-really-mean-it
23 ceph osd pool create
$POOL_NAME $PG_NUM
28 $CEPH_SRC/..
/qa
/workunits
/rbd
/import_export.sh
30 $CEPH_SRC/..
/qa
/workunits
/rbd
/cli_generic.sh
32 $CEPH_SRC/..
/qa
/workunits
/rbd
/journal.sh
35 # tests that do not depend on image format / features
37 $CEPH_SRC/..
/qa
/workunits
/rbd
/verify_pool.sh
40 $CEPH_SRC/..
/qa
/workunits
/rbd
/journal.sh
42 $CEPH_SRC/..
/qa
/workunits
/rbd
/test_admin_socket.sh
46 # skip many_snaps since it takes several minutes
47 nosetests
-v test_rbd
-e '.*many_snaps'
48 # ceph_test_librbd creates its own pools
57 export RBD_CREATE_ARGS
="--image-format 2"
62 export RBD_FEATURES
=$i