ceph/qa/workunits/suites/ffsb.sh
Alan Somers 3aae5ca6fd scripts: fix bash path in shebangs
/bin/bash is a Linuxism.  Other operating systems install bash to
different paths.  Use /usr/bin/env in shebangs to find bash.

Signed-off-by: Alan Somers <asomers@gmail.com>
2017-07-27 13:24:26 -06:00

23 lines
244 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-*
./configure
make
cd ..
mkdir tmp
cd tmp
for f in $mydir/*.ffsb
do
../ffsb-*/ffsb $f
done
cd ..
rm -r tmp ffsb*