plugin: user-interact
id: mediacard/mmc-insert
estimated_duration: 30.0
command: removable_storage_watcher --memorycard insert sdio usb scsi
_description:
 PURPOSE:
     This test will check that the systems media card reader can
     detect the insertion of a Multimedia Card (MMC) media
 STEPS:
     1. Click "Test" and then insert an MMC card into the reader.
        If a file browser opens up, you can safely close it.
        (Note: this test will time-out after 20 seconds.)
     2. Do not remove the device after this test.
 VERIFICATION:
     The verification of this test is automated. Do not change the
     automatically selected result.

plugin: shell
id: mediacard/mmc-storage
estimated_duration: 30.0
depends: mediacard/mmc-insert
user: root
command: removable_storage_test -s 67120000 --memorycard sdio usb scsi
_description:
 This test is automated and executes after the mediacard/mmc-insert
 test is run. It tests reading and writing to the MMC card.

plugin: user-interact
id: mediacard/mmc-remove
estimated_duration: 30.0
depends: mediacard/mmc-insert
command: removable_storage_watcher --memorycard remove sdio usb scsi
_description:
 PURPOSE:
     This test will check that the system correctly detects 
     the removal of the MMC card from the systems card reader.
 STEPS:
     1. Click "Test" and then remove the MMC card from the reader.
        (Note: this test will time-out after 20 seconds.)
 VERIFICATION:
     The verification of this test is automated. Do not change the
     automatically selected result.

plugin: user-interact
id: mediacard/sd-insert
estimated_duration: 30.0
command: removable_storage_watcher --memorycard insert sdio usb scsi
_description:
 PURPOSE:
     This test will check that the systems media card reader can
     detect the insertion of an UNLOCKED Secure Digital (SD) media card
 STEPS:
     1. Click "Test" and then insert an UNLOCKED SD card into the reader.
        If a file browser opens up, you can safely close it.
        (Note: this test will time-out after 20 seconds.)
     2. Do not remove the device after this test.
 VERIFICATION:
     The verification of this test is automated. Do not change the
     automatically selected result.

plugin: shell
id: mediacard/sd-storage
estimated_duration: 30.0
depends: mediacard/sd-insert
user: root
command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
_description:
 This test is automated and executes after the mediacard/sd-insert
 test is run. It tests reading and writing to the SD card.

plugin: user-interact
id: mediacard/sd-remove
estimated_duration: 30.0
depends: mediacard/sd-insert
command: removable_storage_watcher --memorycard remove sdio usb scsi
_description:
 PURPOSE:
     This test will check that the system correctly detects 
     the removal of an SD card from the systems card reader.
 STEPS:
     1. Click "Test" and then remove the SD card from the reader.
        (Note: this test will time-out after 20 seconds.)
 VERIFICATION:
     The verification of this test is automated. Do not change the
     automatically selected result.

plugin: shell
id: mediacard/sd-preinserted
estimated_duration: 30.0
user: root
requires: device.category == 'CARDREADER'
command: removable_storage_test -s 268400000 --memorycard -l sdio usb scsi && removable_storage_test --memorycard sdio usb scsi
_description:
 This is a fully automated version of mediacard/sd-automated and assumes that the
 system under test has a memory card device plugged in prior to checkbox execution.
 It is intended for SRU automated testing.

plugin: user-interact
id: mediacard/sdhc-insert
estimated_duration: 30.0
command: removable_storage_watcher --memorycard insert sdio usb scsi
_description:
 PURPOSE:
     This test will check that the systems media card reader can
     detect the insertion of a UNLOCKED Secure Digital High-Capacity 
     (SDHC) media card
 STEPS:
     1. Click "Test" and then insert an UNLOCKED SDHC card into the reader.
        If a file browser opens up, you can safely close it.
        (Note: this test will time-out after 20 seconds.)
     2. Do not remove the device after this test.
 VERIFICATION:
     The verification of this test is automated. Do not change the
     automatically selected result.

plugin: shell
id: mediacard/sdhc-storage
estimated_duration: 30.0
depends: mediacard/sdhc-insert
user: root
command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
_description:
 This test is automated and executes after the mediacard/sdhc-insert
 test is run. It tests reading and writing to the SDHC card.

plugin: user-interact
id: mediacard/sdhc-remove
estimated_duration: 30.0
depends: mediacard/sdhc-insert
command: removable_storage_watcher --memorycard remove sdio usb scsi
_description:
 PURPOSE:
     This test will check that the system correctly detects 
     the removal of an SDHC card from the systems card reader.
 STEPS:
     1. Click "Test" and then remove the SDHC card from the reader.
        (Note: this test will time-out after 20 seconds.)
 VERIFICATION:
     The verification of this test is automated. Do not change the
     automatically selected result.

plugin: user-interact
id: mediacard/cf-insert
estimated_duration: 30.0
command: removable_storage_watcher --memorycard insert sdio usb scsi
_description:
 PURPOSE:
     This test will check that the systems media card reader can
     detect the insertion of a Compact Flash (CF) media card
 STEPS:
     1. Click "Test" and then insert a CF card into the reader.
        If a file browser opens up, you can safely close it.
        (Note: this test will time-out after 20 seconds.)
     2. Do not remove the device after this test.
 VERIFICATION:
     The verification of this test is automated. Do not change the
     automatically selected result.

plugin: shell
id: mediacard/cf-storage
estimated_duration: 30.0
depends: mediacard/cf-insert
user: root
command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
_description:
 This test is automated and executes after the mediacard/cf-insert
 test is run. It tests reading and writing to the CF card.

plugin: user-interact
id: mediacard/cf-remove
depends: mediacard/cf-storage
estimated_duration: 30.0
command: removable_storage_watcher --memorycard remove sdio usb scsi
_description:
 PURPOSE:
     This test will check that the system correctly detects 
     the removal of a CF card from the systems card reader.
 STEPS:
     1. Click "Test" and then remove the CF card from the reader.
        (Note: this test will time-out after 20 seconds.)
 VERIFICATION:
     The verification of this test is automated. Do not change the
     automatically selected result.

plugin: user-interact
id: mediacard/sdxc-insert
estimated_duration: 30.0
command: removable_storage_watcher --memorycard insert sdio usb scsi
_description:
 PURPOSE:
     This test will check that the systems media card reader can
     detect the insertion of a Secure Digital Extended Capacity (SDXC) media card
 STEPS:
     1. Click "Test" and then insert an UNLOCKED SDXC card into the reader.
        If a file browser opens up, you can safely close it.
        (Note: this test will time-out after 20 seconds.)
     2. Do not remove the device after this test.
 VERIFICATION:
     The verification of this test is automated. Do not change the
     automatically selected result.

plugin: shell
id: mediacard/sdxc-storage
estimated_duration: 30.0
depends: mediacard/sdxc-insert
user: root
command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
_description:
 This test is automated and executes after the mediacard/sdxc-insert
 test is run. It tests reading and writing to the SDXC card.

plugin: user-interact
id: mediacard/sdxc-remove
estimated_duration: 30.0
depends: mediacard/sdxc-insert
command: removable_storage_watcher --memorycard remove sdio usb scsi
_description:
 PURPOSE:
     This test will check that the system correctly detects 
     the removal of a SDXC card from the systems card reader.
 STEPS:
     1. Click "Test" and then remove the SDXC card from the reader.
        (Note: this test will time-out after 20 seconds.)
 VERIFICATION:
     The verification of this test is automated. Do not change the
     automatically selected result.

plugin: user-interact
id: mediacard/ms-insert
estimated_duration: 30.0
command: removable_storage_watcher --memorycard insert sdio usb scsi
_description:
 PURPOSE:
     This test will check that the systems media card reader can
     detect the insertion of a Memory Stick (MS) media card
 STEPS:
     1. Click "Test" and then insert a MS card into the reader.
        If a file browser opens up, you can safely close it.
        (Note: this test will time-out after 20 seconds.)
     2. Do not remove the device after this test.
 VERIFICATION:
     The verification of this test is automated. Do not change the
     automatically selected result.

plugin: shell
id: mediacard/ms-storage
estimated_duration: 30.0
depends: mediacard/ms-insert
user: root
command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
_description:
 This test is automated and executes after the mediacard/ms-insert
 test is run. It tests reading and writing to the MS card.

plugin: user-interact
id: mediacard/ms-remove
estimated_duration: 30.0
depends: mediacard/ms-insert
command: removable_storage_watcher --memorycard remove sdio usb scsi
_description:
 PURPOSE:
     This test will check that the system correctly detects 
     the removal of a MS card from the systems card reader.
 STEPS:
     1. Click "Test" and then remove the MS card from the reader.
        (Note: this test will time-out after 20 seconds.)
 VERIFICATION:
     The verification of this test is automated. Do not change the
     automatically selected result.

plugin: user-interact
id: mediacard/msp-insert
estimated_duration: 30.0
command: removable_storage_watcher --memorycard insert sdio usb scsi
_description:
 PURPOSE:
     This test will check that the systems media card reader can
     detect the insertion of a Memory Stick Pro (MSP) media card
 STEPS:
     1. Click "Test" and then insert a MSP card into the reader.
        If a file browser opens up, you can safely close it.
        (Note: this test will time-out after 20 seconds.)
     2. Do not remove the device after this test.
 VERIFICATION:
     The verification of this test is automated. Do not change the
     automatically selected result.

plugin: shell
id: mediacard/msp-storage
estimated_duration: 30.0
depends: mediacard/msp-insert
user: root
command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
_description:
 This test is automated and executes after the mediacard/msp-insert
 test is run. It tests reading and writing to the MSP card.

plugin: user-interact
id: mediacard/msp-remove
estimated_duration: 30.0
depends: mediacard/msp-insert
command: removable_storage_watcher --memorycard remove sdio usb scsi
_description:
 PURPOSE:
     This test will check that the system correctly detects 
     the removal of a MSP card from the systems card reader.
 STEPS:
     1. Click "Test" and remove the MSP card from the reader.
        (Note: this test will time-out after 20 seconds.)
 VERIFICATION:
     The verification of this test is automated. Do not change the
     automatically selected result.

plugin: user-interact
id: mediacard/xd-insert
estimated_duration: 30.0
command: removable_storage_watcher --memorycard insert sdio usb scsi
_description:
 PURPOSE:
     This test will check that the systems media card reader can
     detect the insertion of a Extreme Digital (xD) media card
 STEPS:
     1. Click "Test" and then insert a xD card into the reader.
        If a file browser opens up, you can safely close it.
        (Note: this test will time-out after 20 seconds.)
     2. Do not remove the device after this test.
 VERIFICATION:
     The verification of this test is automated. Do not change the
     automatically selected result.

plugin: shell
id: mediacard/xd-storage
estimated_duration: 30.0
depends: mediacard/xd-insert
user: root
command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
_description:
 This test is automated and executes after the mediacard/xd-insert
 test is run. It tests reading and writing to the xD card.

plugin: user-interact
id: mediacard/xd-remove
estimated_duration: 30.0
depends: mediacard/xd-insert
command: removable_storage_watcher --memorycard remove sdio usb scsi
_description:
 PURPOSE:
     This test will check that the system correctly detects 
     the removal of a xD card from the systems card reader.
 STEPS:
     1. Click "Test" and then remove the xD card from the reader.
        (Note: this test will time-out after 20 seconds.)
 VERIFICATION:
     The verification of this test is automated. Do not change the
     automatically selected result.

plugin: user-interact-verify
id: mediacard/sd-performance-manual
depends: mediacard/sd-insert
estimated_duration: 120.0
user: root
command: removable_storage_test -s 268400000 --memorycard sdio usb | cat <(echo "Working...") - <(echo; echo "Verify the result and click OK to decide on the outcome") | zenity --text-info --title 'SD Card Performance'
_description:
 PURPOSE:
     This test will check your Media Card data transfer performance.
 STEPS:
     1. Insert SD card into the reader slot on this computer.
     2. Click the test button to perform the test.
 VERIFICATION:
     Did the results of the test match the expected performance of the inserted device?

plugin: user-interact-verify
id: mediacard/sdhc-performance-manual
depends: mediacard/sdhc-insert
estimated_duration: 120.0
user: root
command: removable_storage_test -s 268400000 --memorycard sdio usb | cat <(echo "Working...") - <(echo; echo "Verify the result and click OK to decide on the outcome") | zenity --text-info --title 'SDHC Card Performance'
_description:
 PURPOSE:
     This test will check your Media Card data transfer performance.
 STEPS:
     1. Insert SDHC card into the reader slot on this computer.
     2. Click the test button to perform the test.
 VERIFICATION:
     Did the results of the test match the expected performance of the inserted device?

plugin: user-interact-verify
id: mediacard/mmc-performance-manual
depends: mediacard/mmc-insert
estimated_duration: 120.0
user: root
command: removable_storage_test -s 268400000 --memorycard sdio usb | cat <(echo "Working...") - <(echo; echo "Verify the result and click OK to decide on the outcome") | zenity --text-info --title 'MMC Card Performance'
_description:
 PURPOSE:
     This test will check your Media Card data transfer performance.
 STEPS:
     1. Insert MMC card into the reader slot on this computer.
     2. Click the test button to perform the test.
 VERIFICATION:
     Did the results of the test match the expected performance of the inserted device?

plugin: user-interact-verify
id: mediacard/cf-performance-manual
depends: mediacard/cf-insert
estimated_duration: 120.0
user: root
command: removable_storage_test -s 268400000 --memorycard sdio usb | cat <(echo "Working...") - <(echo; echo "Verify the result and click OK to decide on the outcome") | zenity --text-info --title 'CF Card Performance'
_description:
 PURPOSE:
     This test will check your Media Card data transfer performance.
 STEPS:
     1. Insert CF card into the reader slot on this computer.
     2. Click the test button to perform the test.
 VERIFICATION:
     Did the results of the test match the expected performance of the inserted device?

plugin: user-interact-verify
id: mediacard/sdxc-performance-manual
depends: mediacard/sdxc-insert
estimated_duration: 120.0
user: root
command: removable_storage_test -s 268400000 --memorycard sdio usb | cat <(echo "Working...") - <(echo; echo "Verify the result and click OK to decide on the outcome") | zenity --text-info --title 'SDXC Card Performance'
_description:
 PURPOSE:
     This test will check your Media Card data transfer performance.
 STEPS:
     1. Insert SDXC card into the reader slot on this computer.
     2. Click the test button to perform the test.
 VERIFICATION:
     Did the results of the test match the expected performance of the inserted device?

plugin: user-interact-verify
id: mediacard/ms-performance-manual
depends: mediacard/ms-insert
estimated_duration: 120.0
user: root
command: removable_storage_test -s 268400000 --memorycard sdio usb | cat <(echo "Working...") - <(echo; echo "Verify the result and click OK to decide on the outcome") | zenity --text-info --title 'MS Card Performance'
_description:
 PURPOSE:
     This test will check your Media Card data transfer performance.
 STEPS:
     1. Insert MS card into the reader slot on this computer.
     2. Click the test button to perform the test.
 VERIFICATION:
     Did the results of the test match the expected performance of the inserted device?

plugin: user-interact-verify
id: mediacard/msp-performance-manual
depends: mediacard/msp-insert
estimated_duration: 120.0
user: root
command: removable_storage_test -s 268400000 --memorycard sdio usb | cat <(echo "Working...") - <(echo; echo "Verify the result and click OK to decide on the outcome") | zenity --text-info --title 'MSP Card Performance'
_description:
 PURPOSE:
     This test will check your Media Card data transfer performance.
 STEPS:
     1. Insert MSP card into the reader slot on this computer.
     2. Click the test button to perform the test.
 VERIFICATION:
     Did the results of the test match the expected performance of the inserted device?

plugin: user-interact-verify
id: mediacard/xd-performance-manual
depends: mediacard/xd-insert
estimated_duration: 120.0
user: root
command: removable_storage_test -s 268400000 --memorycard sdio usb | cat <(echo "Working...") - <(echo; echo "Verify the result and click OK to decide on the outcome") | zenity --text-info --title 'XD Card Performance'
_description:
 PURPOSE:
     This test will check your Media Card data transfer performance.
 STEPS:
     1. Insert XD card into the reader slot on this computer.
     2. Click the test button to perform the test.
 VERIFICATION:
     Did the results of the test match the expected performance of the inserted device?

