]> git.proxmox.com Git - ceph.git/blame - ceph/qa/workunits/suites/ffsb.sh
import ceph quincy 17.2.6
[ceph.git] / ceph / qa / workunits / suites / ffsb.sh
CommitLineData
11fdf7f2 1#!/usr/bin/env bash
7c673cae
FG
2
3set -e
4
5mydir=`dirname $0`
6
20effc67
TL
7# try it again if the clone is slow and the second time
8trap -- 'retry' EXIT
9retry() {
10 rm -rf ffsb
11 # double the timeout value
39ae355f 12 timeout 3600 git clone https://git.ceph.com/ffsb.git --depth 1
20effc67
TL
13}
14rm -rf ffsb
39ae355f 15timeout 1800 git clone https://git.ceph.com/ffsb.git --depth 1
20effc67
TL
16trap - EXIT
17
18cd ffsb
7c673cae
FG
19./configure
20make
21cd ..
22mkdir tmp
23cd tmp
24
25for f in $mydir/*.ffsb
26do
20effc67 27 ../ffsb/ffsb $f
7c673cae
FG
28done
29cd ..
30rm -r tmp ffsb*
31