ceph/qa/workunits/suites/ffsb.sh
Patrick Donnelly 6c7e09568d
qa: fix ffsb cd argument
Avoid potential failures relating to HEAD^.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-03 23:08:15 -07:00

24 lines
280 B
Bash
Executable File

#!/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*