Signed-off-by: David Zafman <dzafman@redhat.com>
# Specify a bad --type
cmd = (CFSD_PREFIX + "--type foobar --op list --pgid {pg}").format(osd=ONEOSD, pg=ONEPG)
- ERRORS += test_failure(cmd, "Must provide --type (filestore, memstore, keyvaluestore)")
+ ERRORS += test_failure(cmd, "Need a valid --type e.g. filestore, memstore, keyvaluestore")
# Don't specify a data-path
cmd = "./ceph-objectstore-tool --journal-path {dir}/{osd}.journal --type memstore --op list --pgid {pg}".format(dir=OSDDIR, osd=ONEOSD, pg=ONEPG)
ObjectStore *fs = ObjectStore::create(g_ceph_context, type, dpath, jpath, flags);
if (fs == NULL) {
- cerr << "Must provide --type (filestore, memstore, keyvaluestore)" << std::endl;
+ cerr << "Need a valid --type e.g. filestore, memstore, keyvaluestore" << std::endl;
if (type == "keyvaluestore") {
cerr << "Add \"keyvaluestore\" to "
<< "enable_experimental_unrecoverable_data_corrupting_features"