From 404043980d7882f320f48fbaed4b18f31bb15eb7 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 21 Sep 2016 22:58:49 +0800 Subject: [PATCH] test/cli/crushtool: fix the test of compile-decompile-recompile.t 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 --- src/test/cli/crushtool/compile-decompile-recompile.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/cli/crushtool/compile-decompile-recompile.t b/src/test/cli/crushtool/compile-decompile-recompile.t index bd1100ccda71c..7a1b61da8dfae 100644 --- a/src/test/cli/crushtool/compile-decompile-recompile.t +++ b/src/test/cli/crushtool/compile-decompile-recompile.t @@ -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]