]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/cli/crushtool: fix the test of compile-decompile-recompile.t 11410/head
authorKefu Chai <kchai@redhat.com>
Wed, 21 Sep 2016 14:58:49 +0000 (22:58 +0800)
committerLoic Dachary <ldachary@redhat.com>
Mon, 13 Feb 2017 05:52:00 +0000 (06:52 +0100)
should read the map from $TESTDIR,
it's a regression introduced by b2c0a07

Fixes: http://tracker.ceph.com/issues/17306
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 404043980d7882f320f48fbaed4b18f31bb15eb7)

src/test/cli/crushtool/compile-decompile-recompile.t

index bd1100ccda71c567ff604aec22970fc53c022c5d..7a1b61da8dfae02f2233089a5366c2a8eac2a9a0 100644 (file)
@@ -10,6 +10,6 @@
   $ cmp need_tree_order.crush nto.conf
   $ cmp nto.compiled nto.recompiled
 
-  $ crushtool -c missing-bucket.crushmap.txt
+  $ crushtool -c "$TESTDIR/missing-bucket.crushmap.txt"
   in rule 'rule-bad' item 'root-404' not defined
   [1]