]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/cli/crushtool: fix the test of compile-decompile-recompile.t 11173/head
authorKefu Chai <kchai@redhat.com>
Wed, 21 Sep 2016 14:58:49 +0000 (22:58 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 21 Sep 2016 15:00:55 +0000 (23:00 +0800)
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>
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]