From: Loic Dachary Date: Sun, 29 Dec 2013 12:41:45 +0000 (+0100) Subject: mon: remove fixture directory between runs X-Git-Tag: v0.75~11^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1009%2Fhead;p=ceph.git mon: remove fixture directory between runs Instead of just removing the store.db directory, remove everything so that --mkfs can re-create it instead of infering that it already exists. Signed-off-by: Loic Dachary --- diff --git a/src/test/mon/osd-pool-create.sh b/src/test/mon/osd-pool-create.sh index c3c07ccb8d00..3ec566ca8cde 100755 --- a/src/test/mon/osd-pool-create.sh +++ b/src/test/mon/osd-pool-create.sh @@ -48,7 +48,7 @@ function kill_mon() { sleep $try done - rm -fr $DIR/store.db + rm -fr $DIR/* } # explicitly set the default crush rule