Fix test for casadm help

Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
This commit is contained in:
Slawomir Jankowski 2020-08-19 15:54:48 +02:00
parent 0d3b37b580
commit 873be2bf3a
2 changed files with 0 additions and 15 deletions

View File

@ -22,7 +22,6 @@ casadm_help = [
r"-E --flush-core Flush dirty data of a given core from the caching device "
r"to this core device",
r"-C --io-class Manage IO classes",
r"-N --nvme Manage NVMe namespace",
r"-V --version Print CAS version",
r"-H --help Print help",
r"--zero-metadata Clear metadata from caching device",
@ -45,16 +44,6 @@ version_help = [
r"-o --output-format \<FORMAT\> Output format: \{table|csv\}"
]
nvme_help = [
r"Usage: casadm --nvme --format \<MODE\> --device \<DEVICE\> \[option\.\.\.\]",
r"Manage NVMe namespace",
r"Options that are valid with --nvme \(-N\) are:",
r"-F --format \<MODE\> Change NVMe metadata mode \{normal|atomic\} "
r"WARNING: Reboot required\!",
r"-d --device \<DEVICE\> NVMe device to be formatted",
r"-f --force Force NVMe format"
]
ioclass_help = [
r"Usage: casadm --io-class \{--load-config|--list\}",
r"Manage IO classes",

View File

@ -81,10 +81,6 @@ def test_cli_help(shortcut):
+ (" -H" if shortcut else " --help"))
check_stdout_msg(output, ioclass_help)
output = TestRun.executor.run("casadm" + (" -N" if shortcut else " --nvme")
+ (" -H" if shortcut else " --help"))
check_stdout_msg(output, nvme_help)
output = TestRun.executor.run("casadm" + (" -V" if shortcut else " --version")
+ (" -H" if shortcut else " --help"))
check_stdout_msg(output, version_help)