From b686edae8c558917e7671d52be0ef13eb5d5b1fb Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 10 Mar 2015 06:32:51 -0700 Subject: [PATCH] crushtool: fix straw2 cli test Signed-off-by: Sage Weil --- src/test/cli/crushtool/straw2.t | 4 ++-- src/test/cli/crushtool/straw2.txt | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/test/cli/crushtool/straw2.t b/src/test/cli/crushtool/straw2.t index fee1c67ae6286..8638dea5fb24c 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 9853f175e0d5a..6a4a7e59fa8a4 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 -- 2.39.5