From Fedora Project Wiki
(Created page with "{{QA/Test_Case |description=This testcase checks whether kpartx will crash when called with invalid options. It is reported in fixed bug that when kpartx was passes something...") |
No edit summary |
||
Line 9: | Line 9: | ||
# cd into the testcase directory | # cd into the testcase directory | ||
cd storage-fedora/multipath/kpartx_crash | cd storage-fedora/multipath/kpartx_crash | ||
# run the testcase | # run the testcase | ||
./runtest.sh | ./runtest.sh | ||
|results= | |results= |
Revision as of 11:20, 15 October 2018
Description
This testcase checks whether kpartx will crash when called with invalid options. It is reported in fixed bug that when kpartx was passes something other than a file or a block device or a badly formed pathname, it could read off the end of the device string, and crash.
How to test
- Ensure the device-mapper-multipath package is installed
- Clone the multipath repository:
git clone https://github.com/skycastlelily/storage-fedora.git
- cd into the testcase directory
cd storage-fedora/multipath/kpartx_crash
- run the testcase
./runtest.sh
Expected Results
- The testcase should pass without any error introduced.