]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: osd-pool-create test enforce -e
authorLoic Dachary <loic@dachary.org>
Sun, 2 Feb 2014 09:37:18 +0000 (10:37 +0100)
committerLoic Dachary <loic@dachary.org>
Tue, 4 Feb 2014 07:16:23 +0000 (08:16 +0100)
commitd40841cbcd41ea7619cbeeb4f2324ec6301d58e0
tree4ac59dfc8129c6ab613e62879fd1c90cd88be172
parentd8d747d71c2c5ae4048285c6ff3b3a22bbcf62ff
mon: osd-pool-create test enforce -e

Use

   ! grep foo || exit 1

instead of

   grep foo && exit 1

so that all commands have a successful exit code. Otherwise set -e is
supposed to fail on them.

Reviewed-By: Christophe Courtaut <christophe.courtaut@gmail.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
src/test/mon/osd-pool-create.sh