## Running Diagnostic Tests from the Command Line

In some cases it is more convenient to run a single Sun StorEdge diagnostic test from the command line rather than through a Storage Automated Diagnostic Environment interface.

When running a test from the command line, you must specify all test options in the form of command-line arguments. Standard arguments are common to most tests. See the Standard Command Line Arguments table for details.

The standard syntax for most tests is as follows:

% testname [-uvf][-o test-specific-arguments]

The Standard Command Line Arguments table describes the standard command-line arguments.

Argument | Description
-u | Displays command-line Usage information.
-v | Runs the test in Verbose mode and displays messages with more detailed information about the testing process. The default is False.
-f | Runs the test in full Functional test mode. This mode assumes that the test has complete control of the device being tested. The default is False.
-o | Indicates that the Options and arguments that follow are test-specific.

Note -

All options must be listed in a quoted list following the standard
-o argument. The options must be separated by a pipe (|); for example:
`command_name -o "dev_path | ..."`