Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / src / test / rbd-ggate.sh
1 #!/bin/bash -ex
2 #
3 # Copyright (C) 2014, 2015 Red Hat <contact@redhat.com>
4 # Copyright (C) 2013 Cloudwatt <libre.licensing@cloudwatt.com>
5 #
6 # Author: Loic Dachary <loic@dachary.org>
7 #
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU Library Public License as published by
10 # the Free Software Foundation; either version 2, or (at your option)
11 # any later version.
12 #
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 # GNU Library Public License for more details.
17 #
18 source $(dirname $0)/detect-build-env-vars.sh
19
20 test `uname` = FreeBSD
21
22 CEPH_CLI_TEST_DUP_COMMAND=1 \
23 MON=1 OSD=3 MDS=0 MGR=1 CEPH_PORT=7206 $CEPH_ROOT/src/test/vstart_wrapper.sh \
24     $CEPH_ROOT/qa/workunits/rbd/rbd-ggate.sh \