From: Sage Weil Date: Tue, 10 Mar 2015 13:32:51 +0000 (-0700) Subject: crushtool: fix straw2 cli test X-Git-Tag: v0.94~48^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b686edae8c558917e7671d52be0ef13eb5d5b1fb;p=ceph.git crushtool: fix straw2 cli test Signed-off-by: Sage Weil --- diff --git a/src/test/cli/crushtool/straw2.t b/src/test/cli/crushtool/straw2.t index fee1c67ae628..8638dea5fb24 100644 --- a/src/test/cli/crushtool/straw2.t +++ b/src/test/cli/crushtool/straw2.t @@ -1,2 +1,2 @@ - $ crushtool -c "$TESTDIR/straw2.txt" -o straw2 - $ rm straw2 + $ crushtool -c "$TESTDIR/straw2.txt" -o straw2 + $ rm straw2 diff --git a/src/test/cli/crushtool/straw2.txt b/src/test/cli/crushtool/straw2.txt index 9853f175e0d5..6a4a7e59fa8a 100644 --- a/src/test/cli/crushtool/straw2.txt +++ b/src/test/cli/crushtool/straw2.txt @@ -17,16 +17,16 @@ type 2 default host host0 { id -1 # do not change unnecessarily # weight 1.000 - alg foo + alg straw2 hash 0 # rjenkins1 - item device0 weight 0.000 + item device0 weight 1.000 } default default { id -2 # do not change unnecessarily # weight 1.000 - alg straw + alg straw2 hash 0 # rjenkins1 - item host0 weight 0.000 + item host0 weight 1.000 } # rules