]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tests: do not use -e in ceph-disk.sh
authorLoic Dachary <ldachary@redhat.com>
Wed, 1 Apr 2015 12:38:29 +0000 (14:38 +0200)
committerLoic Dachary <ldachary@redhat.com>
Sun, 5 Apr 2015 23:58:18 +0000 (01:58 +0200)
commiteaf89661d9cb51551697ef14118dd27212a874f5
treeda65ee797dfb0efd66f04f7d87aaea07b8877240
parent28269d7cb8b40760518ad271649dbf513699ec81
tests: do not use -e in ceph-disk.sh

The tests explicitly return on error when relevant. Add two error cases:

* detect when the allocation of a loop device fails.
* in the outer loop, return immediately if one of the test fails

Signed-off-by: Loic Dachary <ldachary@redhat.com>
src/test/ceph-disk.sh