summaryrefslogtreecommitdiffstats
path: root/src/test/cli/crushtool/location.t
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:54:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:54:28 +0000
commite6918187568dbd01842d8d1d2c808ce16a894239 (patch)
tree64f88b554b444a49f656b6c656111a145cbbaa28 /src/test/cli/crushtool/location.t
parentInitial commit. (diff)
downloadceph-b26c4052f3542036551aa9dec9caa4226e456195.tar.xz
ceph-b26c4052f3542036551aa9dec9caa4226e456195.zip
Adding upstream version 18.2.2.upstream/18.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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)