]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: remove fixture directory between runs 1009/head
authorLoic Dachary <loic@dachary.org>
Sun, 29 Dec 2013 12:41:45 +0000 (13:41 +0100)
committerLoic Dachary <loic@dachary.org>
Tue, 31 Dec 2013 17:58:25 +0000 (18:58 +0100)
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 <loic@dachary.org>
src/test/mon/osd-pool-create.sh

index c3c07ccb8d004afa854f44dfc0163b572e35e06b..3ec566ca8cde303ed0859de4e23a0b3aecda911e 100755 (executable)
@@ -48,7 +48,7 @@ function kill_mon() {
         sleep $try
     done
 
-    rm -fr $DIR/store.db
+    rm -fr $DIR/*
 }
 
 # explicitly set the default crush rule