From Fedora Project Wiki

(Created page with "{{header|qa}} {{QA/Test_Case |description= This testcase checks if multipathd responds with 'fail' for invalid device name. It is reported in fixed bug that multipathd respond...")
 
Line 1: Line 1:
 
{{header|qa}}
 
{{header|qa}}
 
{{QA/Test_Case
 
{{QA/Test_Case
|description= This testcase checks if multipathd responds with 'fail' for invalid device name. It is reported in fixed bug that multipathd responds with 'ok' for invalid device name.
+
|description=This testcase checks if multipathd responds with 'fail' for invalid device name. It is reported in fixed bug that multipathd responds with 'ok' for invalid device name.
 
|actions=
 
|actions=
1. Ensure the device-mapper-multipath package is installed
+
Be as specific as required for the target audience.  
    Execute: {{command|dnf -y install device-mapper device-mapper-multipath}}
+
# Ensure the device-mapper-multipath package is installed
    Execute: {{command|rpm -qa| grep multipath}}
+
    Execute: {{command|dnf -y install device-mapper device-mapper-multipath}}
2. Execute the following command to generate the configuration file
+
    Execute: {{command|rpm -qa | grep multipath}}
    Execute: {{command|mpathconf --enable}}
+
# Next do this ...
3. Restart multipathd service
+
# Finally click that
    Execute:service multipathd restart
+
# Start here ...
4. multipathd remove invalid device name 'foo'
+
# Next do this ...
    Execute:multipathd remove map foo
+
# Finally click that
5. check whether the return value is 'ok' or 'fail'
 
 
 
 
|results=
 
|results=
# multipathd responds with 'fail' for invalid device name.
+
The following must be true to consider this a successful test run. Be brief ... but explicit.
 +
# Step #1 completes without error
 +
# The system boots into runlevel 5
 +
# Program completes with exit code 0
 +
|optional=Optionally provide hints for exploratory testing.
 
}}
 
}}

Revision as of 10:13, 29 October 2018

QA.png


Description

This testcase checks if multipathd responds with 'fail' for invalid device name. It is reported in fixed bug that multipathd responds with 'ok' for invalid device name.


How to test

Be as specific as required for the target audience.

  1. Ensure the device-mapper-multipath package is installed
   Execute: dnf -y install device-mapper device-mapper-multipath
   Execute: rpm -qa 
  1. Next do this ...
  2. Finally click that
  3. Start here ...
  4. Next do this ...
  5. Finally click that

Expected Results

The following must be true to consider this a successful test run. Be brief ... but explicit.

  1. Step #1 completes without error
  2. The system boots into runlevel 5
  3. Program completes with exit code 0

Optional

Optionally provide hints for exploratory testing.