summaryrefslogtreecommitdiffstats
path: root/src/test/cli/crushtool/location.t
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/cli/crushtool/location.t')
-rw-r--r--src/test/cli/crushtool/location.t16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/test/cli/crushtool/location.t b/src/test/cli/crushtool/location.t
new file mode 100644
index 000000000..4252f5c27
--- /dev/null
+++ b/src/test/cli/crushtool/location.t
@@ -0,0 +1,16 @@
+ $ crushtool -i $TESTDIR/test-map-big-1.crushmap --show-location 44
+ $ crushtool -i $TESTDIR/test-map-big-1.crushmap --show-location 16
+ $ crushtool -i $TESTDIR/test-map-big-1.crushmap --show-location 167
+ host\tp05151113587529 (esc)
+ rack\tRJ45 (esc)
+ room\t0513-R-0050 (esc)
+ root\tdefault (esc)
+ $ crushtool -i $TESTDIR/test-map-big-1.crushmap --show-location 258
+ host\tlxfssi44a06 (esc)
+ rack\tSI44 (esc)
+ root\tcastor (esc)
+ $ crushtool -i $TESTDIR/test-map-big-1.crushmap --show-location 87
+ host\tp05151113576052 (esc)
+ rack\tRJ43 (esc)
+ room\t0513-R-0050 (esc)
+ root\tdefault (esc)