summaryrefslogtreecommitdiffstats
path: root/src/test/run-rbd-unit-tests.sh
blob: 00b4d5190d23090617e43919d3017348737bdbcf (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 61 109
do
    RBD_FEATURES=$i unittest_librbd
done

echo OK