]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
test/osd: Fix ceph_test_rados_io_sequence help documentation
authorJon Bailey <jonathan.bailey1@ibm.com>
Mon, 14 Jul 2025 15:39:53 +0000 (16:39 +0100)
committerJon Bailey <jonathan.bailey1@ibm.com>
Tue, 15 Jul 2025 09:13:27 +0000 (10:13 +0100)
Some interactive commands (append/truncate/sleep) were missing as well as some being incorrectly documented (injecterror/clearinject) in the help command, which has been fixed in this commit.

Signed-off-by: Jon Bailey <jonathan.bailey1@ibm.com>
src/test/osd/ceph_test_rados_io_sequence/ceph_test_rados_io_sequence.cc

index a7986eaf32afae33411a069364b72b6d34ae2df3..45449001141636c6a8a55238a388117e7670303a 100644 (file)
@@ -161,8 +161,11 @@ constexpr std::string_view usage[] = {
     "\t\t read|write|failedwrite <off> <len>",
     "\t\t read2|write2|failedwrite2 <off> <len> <off> <len>",
     "\t\t read3|write3|failedwrite3 <off> <len> <off> <len> <off> <len>",
-    "\t\t injecterror <type> <shard> <good_count> <fail_count>",
-    "\t\t clearinject <type> <shard>",
+    "\t\t append",
+    "\t\t truncate",
+    "\t\t injecterror <io_type> <shard> <type> <good_count> <fail_count>",
+    "\t\t clearinject <io_type> <shard> <type>",
+    "\t\t sleep",
     "\t\t done"};
 
 po::options_description get_options_description() {