]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crush: Test for crash on trying to load an invalid map 8038/head
authorBrad Hubbard <bhubbard@redhat.com>
Mon, 14 Mar 2016 08:14:04 +0000 (18:14 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Mon, 14 Mar 2016 08:14:04 +0000 (18:14 +1000)
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
src/test/cli/crushtool/check-invalid-map.t [new file with mode: 0644]

diff --git a/src/test/cli/crushtool/check-invalid-map.t b/src/test/cli/crushtool/check-invalid-map.t
new file mode 100644 (file)
index 0000000..d4b6b06
--- /dev/null
@@ -0,0 +1,3 @@
+  $ crushtool -d /etc/hosts
+  crushtool: unable to decode /etc/hosts
+  [1]