summaryrefslogtreecommitdiffstats
path: root/src/test/run-rbd-unit-tests.sh
blob: 7bd27ef2dbb8d2e5b0666850853ee679bb153fe3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash -ex

# this should be run from the src directory in the ceph.git

CEPH_SRC=$(pwd)
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$CEPH_SRC/.libs"
PATH="$CEPH_SRC:$PATH"

unittest_librbd
for i in 0 1 5 29 109
do
    RBD_FEATURES=$i unittest_librbd
done

echo OK