From: Sage Weil Date: Fri, 4 May 2012 03:33:35 +0000 (-0700) Subject: crushtool: another simple test for update X-Git-Tag: v0.47~47^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=42f2d2fd655fd120b0d47f36ea80c4a188fa4a7b;p=ceph.git crushtool: another simple test for update If the weight doesn't change it should be a no-op. Signed-off-by: Sage Weil --- diff --git a/src/test/cli/crushtool/add-item.t b/src/test/cli/crushtool/add-item.t index 80b91da59dcf..f058b639c614 100644 --- a/src/test/cli/crushtool/add-item.t +++ b/src/test/cli/crushtool/add-item.t @@ -10,3 +10,6 @@ $ crushtool -i two --update-item 1 2.0 osd1 --loc host host1 --loc cluster cluster0 -o five > /dev/null $ crushtool -d five -o final $ cmp final "$TESTDIR/simple.template.five" + $ crushtool -i five --update-item 1 2.0 osd1 --loc host host1 --loc cluster cluster0 -o six > /dev/null + $ crushtool -d six -o final + $ cmp final "$TESTDIR/simple.template.five"