Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / src / test / run-rbd-unit-tests.sh
1 #!/bin/bash -ex
2
3 # this should be run from the src directory in the ceph.git
4
5 source $(dirname $0)/detect-build-env-vars.sh
6 PATH="$CEPH_BIN:$PATH"
7
8 unset RBD_FEATURES
9 unittest_librbd
10
11 for i in 0 1 61 109 127
12 do
13     RBD_FEATURES=$i unittest_librbd
14 done
15
16 echo OK