Hide Forgot
Description of problem: When the cd-rom or dvd test is launched interactively, that test ignores user input to skip the test. Selecting 'n' does not abort the test run attempt, and instead returns with a prompt about which (non-existent) media to test. There is no obvious choice for testing 'none' or '0' devices Your device /dev/sr0 supports cd-rw, cd-r, cd-rom Would you like to test cd-rw media? (y|n) n response: n Please choose the media to be tested: (cd-rw|cd-r|cd-rom) Please enter a response Please choose the media to be tested: (cd-rw|cd-r|cd-rom) none response: none Error: could not determine media type ... Warning: Can not turn off the automount and/or autobrowse for removable media. Your device /dev/sr0 supports dvd-rw, dvd+rw, dvd-r, dvd+r, dvd Would you like to test dvd-rw media? (y|n) n response: n Please choose the media to be tested: (dvd-rw|dvd+rw|dvd-r|dvd+r|dvd) Please enter a response Please choose the media to be tested: (dvd-rw|dvd+rw|dvd-r|dvd+r|dvd) none response: none Error: could not determine media type copying attachments... ... $ hwc print | grep sr0 cdrom sr0 host1/target1:0:0/1:0:0:0/block/sr0 - FAIL bluray sr0 host1/target1:0:0/1:0:0:0/block/sr0 - FAIL dvd sr0 host1/target1:0:0/1:0:0:0/block/sr0 - FAIL Version-Release number of selected component (if applicable): hwcert-client-1.7.0-20131203.el7.noarch How reproducible: consistent Steps to Reproduce: 1. hwcert-backend plan on a system with dvd / cd drive 2. hwcert-backend run -t {cdrom,bluray,dvd} 3. Actual results: can't exit the test early Expected results: Test doesn't prompt for type of media after user enters 'n' to not continue Additional info: