summaryrefslogtreecommitdiffstats
path: root/qa/workunits/suites/ffsb.sh
blob: e44519553d34bfd126151fc87d2b7b4312ea48cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/env bash

set -e

mydir=`dirname $0`

wget http://download.ceph.com/qa/ffsb.tar.bz2
tar jxvf ffsb.tar.bz2
cd ffsb-6.0-rc2
patch -p1 < $mydir/ffsb.patch
./configure
make
cd ..
mkdir tmp
cd tmp

for f in $mydir/*.ffsb
do
    ../ffsb-*/ffsb $f
done
cd ..
rm -r tmp ffsb*