summaryrefslogtreecommitdiff
path: root/units/mediacard
diff options
Diffstat (limited to 'units/mediacard')
-rw-r--r--units/mediacard/jobs.pxu677
-rw-r--r--units/mediacard/manifest.pxu4
2 files changed, 681 insertions, 0 deletions
diff --git a/units/mediacard/jobs.pxu b/units/mediacard/jobs.pxu
new file mode 100644
index 0000000..ab00396
--- /dev/null
+++ b/units/mediacard/jobs.pxu
@@ -0,0 +1,677 @@
+plugin: user-interact
+category_id: com.canonical.plainbox::mediacard
+id: mediacard/mmc-insert
+estimated_duration: 30.0
+command:
+ if [[ -v SNAP ]]; then
+ timeout 20s bash -c 'grep -m 1 -oP "\Kadd.*?mmc.*?\s" <( exec journalctl -u snap.udisks2.udisksd -f -q -S -1s ); kill $!'
+ else
+ removable_storage_watcher --memorycard insert sdio usb scsi
+ fi
+imports: from com.canonical.plainbox import manifest
+requires:
+ package.name == 'udisks2' or snap.name == 'udisks2'
+ manifest.has_card_reader == 'True'
+user: root
+_description:
+ PURPOSE:
+ This test will check that the systems media card reader can
+ detect the insertion of a Multimedia Card (MMC) media
+ STEPS:
+ 1. Commence the test and then insert an MMC card into the reader.
+ (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
+category_id: com.canonical.plainbox::mediacard
+id: mediacard/mmc-storage
+estimated_duration: 30.0
+depends: mediacard/mmc-insert
+user: root
+flags: preserve-cwd
+command: removable_storage_test -s 67120000 --memorycard sdio usb scsi --auto-reduce-size
+requires:
+ package.name == 'udisks2' or (snap.name == 'core' and int(snap.revision) >= 1804)
+_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
+category_id: com.canonical.plainbox::mediacard
+id: mediacard/mmc-remove
+estimated_duration: 30.0
+depends: mediacard/mmc-insert
+command:
+ if [[ -v SNAP ]]; then
+ timeout 20s bash -c 'grep -m 1 -oP "\Kremove.*?mmc.*?\s" <( exec journalctl -u snap.udisks2.udisksd -f -q -S -1s ); kill $!'
+ else
+ removable_storage_watcher --memorycard remove sdio usb scsi
+ fi
+user: root
+_description:
+ PURPOSE:
+ This test will check that the system correctly detects
+ the removal of the MMC card from the systems card reader.
+ STEPS:
+ 1. Commence the 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
+category_id: com.canonical.plainbox::mediacard
+id: mediacard/sd-insert
+estimated_duration: 30.0
+command:
+ if [[ -v SNAP ]]; then
+ timeout 20s bash -c 'grep -m 1 -oP "\Kadd.*?mmc.*?\s" <( exec journalctl -u snap.udisks2.udisksd -f -q -S -1s ); kill $!'
+ else
+ removable_storage_watcher --memorycard insert sdio usb scsi
+ fi
+imports: from com.canonical.plainbox import manifest
+requires:
+ package.name == 'udisks2' or snap.name == 'udisks2'
+ manifest.has_card_reader == 'True'
+user: root
+_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. Commence the test and then insert an UNLOCKED SD card into the reader.
+ (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
+category_id: com.canonical.plainbox::mediacard
+id: mediacard/sd-storage
+estimated_duration: 30.0
+depends: mediacard/sd-insert
+user: root
+flags: preserve-cwd
+command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
+requires:
+ package.name == 'udisks2' or (snap.name == 'core' and int(snap.revision) >= 1804)
+_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
+category_id: com.canonical.plainbox::mediacard
+id: mediacard/sd-remove
+estimated_duration: 30.0
+depends: mediacard/sd-insert
+command:
+ if [[ -v SNAP ]]; then
+ timeout 20s bash -c 'grep -m 1 -oP "\Kremove.*?mmc.*?\s" <( exec journalctl -u snap.udisks2.udisksd -f -q -S -1s ); kill $!'
+ else
+ removable_storage_watcher --memorycard remove sdio usb scsi
+ fi
+user: root
+_description:
+ PURPOSE:
+ This test will check that the system correctly detects
+ the removal of an SD card from the systems card reader.
+ STEPS:
+ 1. Commence the 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
+category_id: com.canonical.plainbox::mediacard
+id: mediacard/sd-preinserted
+estimated_duration: 30.0
+user: root
+flags: preserve-cwd
+command: removable_storage_test -s 268400000 --memorycard -l sdio usb scsi && removable_storage_test --memorycard sdio usb scsi
+imports: from com.canonical.plainbox import manifest
+requires:
+ package.name == 'udisks2' or snap.name == 'udisks2'
+ package.name == 'udisks2' or (snap.name == 'core' and int(snap.revision) >= 1804)
+ manifest.has_card_reader == 'True'
+_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
+category_id: com.canonical.plainbox::mediacard
+id: mediacard/sdhc-insert
+estimated_duration: 30.0
+command:
+ if [[ -v SNAP ]]; then
+ timeout 20s bash -c 'grep -m 1 -oP "\Kadd.*?mmc.*?\s" <( exec journalctl -u snap.udisks2.udisksd -f -q -S -1s ); kill $!'
+ else
+ removable_storage_watcher --memorycard insert sdio usb scsi
+ fi
+imports: from com.canonical.plainbox import manifest
+requires:
+ package.name == 'udisks2' or snap.name == 'udisks2'
+ manifest.has_card_reader == 'True'
+user: root
+_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. Commence the test and then insert an UNLOCKED SDHC card into the reader.
+ (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
+category_id: com.canonical.plainbox::mediacard
+id: mediacard/sdhc-storage
+estimated_duration: 30.0
+depends: mediacard/sdhc-insert
+user: root
+flags: preserve-cwd
+command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
+requires:
+ package.name == 'udisks2' or (snap.name == 'core' and int(snap.revision) >= 1804)
+_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
+category_id: com.canonical.plainbox::mediacard
+id: mediacard/sdhc-remove
+estimated_duration: 30.0
+depends: mediacard/sdhc-insert
+command:
+ if [[ -v SNAP ]]; then
+ timeout 20s bash -c 'grep -m 1 -oP "\Kremove.*?mmc.*?\s" <( exec journalctl -u snap.udisks2.udisksd -f -q -S -1s ); kill $!'
+ else
+ removable_storage_watcher --memorycard remove sdio usb scsi
+ fi
+user: root
+_description:
+ PURPOSE:
+ This test will check that the system correctly detects
+ the removal of an SDHC card from the systems card reader.
+ STEPS:
+ 1. Commence the 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
+category_id: com.canonical.plainbox::mediacard
+id: mediacard/cf-insert
+estimated_duration: 30.0
+command:
+ if [[ -v SNAP ]]; then
+ timeout 20s bash -c 'grep -m 1 -oP "\Kadd.*?mmc.*?\s" <( exec journalctl -u snap.udisks2.udisksd -f -q -S -1s ); kill $!'
+ else
+ removable_storage_watcher --memorycard insert sdio usb scsi
+ fi
+imports: from com.canonical.plainbox import manifest
+requires:
+ package.name == 'udisks2' or snap.name == 'udisks2'
+ manifest.has_card_reader == 'True'
+user: root
+_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. Commence the test and then insert a CF card into the reader.
+ (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
+category_id: com.canonical.plainbox::mediacard
+id: mediacard/cf-storage
+estimated_duration: 30.0
+depends: mediacard/cf-insert
+user: root
+command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
+requires:
+ package.name == 'udisks2' or (snap.name == 'core' and int(snap.revision) >= 1804)
+_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
+category_id: com.canonical.plainbox::mediacard
+id: mediacard/cf-remove
+depends: mediacard/cf-storage
+estimated_duration: 30.0
+command:
+ if [[ -v SNAP ]]; then
+ timeout 20s bash -c 'grep -m 1 -oP "\Kremove.*?mmc.*?\s" <( exec journalctl -u snap.udisks2.udisksd -f -q -S -1s ); kill $!'
+ else
+ removable_storage_watcher --memorycard remove sdio usb scsi
+ fi
+user: root
+_description:
+ PURPOSE:
+ This test will check that the system correctly detects
+ the removal of a CF card from the systems card reader.
+ STEPS:
+ 1. Commence the 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
+category_id: com.canonical.plainbox::mediacard
+id: mediacard/sdxc-insert
+estimated_duration: 30.0
+command:
+ if [[ -v SNAP ]]; then
+ timeout 20s bash -c 'grep -m 1 -oP "\Kadd.*?mmc.*?\s" <( exec journalctl -u snap.udisks2.udisksd -f -q -S -1s ); kill $!'
+ else
+ removable_storage_watcher --memorycard insert sdio usb scsi
+ fi
+imports: from com.canonical.plainbox import manifest
+requires:
+ package.name == 'udisks2' or snap.name == 'udisks2'
+ manifest.has_card_reader == 'True'
+user: root
+_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. Commence the test and then insert an UNLOCKED SDXC card into the reader.
+ (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
+category_id: com.canonical.plainbox::mediacard
+id: mediacard/sdxc-storage
+estimated_duration: 30.0
+depends: mediacard/sdxc-insert
+user: root
+command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
+requires:
+ package.name == 'udisks2' or (snap.name == 'core' and int(snap.revision) >= 1804)
+_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
+category_id: com.canonical.plainbox::mediacard
+id: mediacard/sdxc-remove
+estimated_duration: 30.0
+depends: mediacard/sdxc-insert
+command:
+ if [[ -v SNAP ]]; then
+ timeout 20s bash -c 'grep -m 1 -oP "\Kremove.*?mmc.*?\s" <( exec journalctl -u snap.udisks2.udisksd -f -q -S -1s ); kill $!'
+ else
+ removable_storage_watcher --memorycard remove sdio usb scsi
+ fi
+user: root
+_description:
+ PURPOSE:
+ This test will check that the system correctly detects
+ the removal of a SDXC card from the systems card reader.
+ STEPS:
+ 1. Commence the 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
+category_id: com.canonical.plainbox::mediacard
+id: mediacard/ms-insert
+estimated_duration: 30.0
+command:
+ if [[ -v SNAP ]]; then
+ timeout 20s bash -c 'grep -m 1 -oP "\Kadd.*?mmc.*?\s" <( exec journalctl -u snap.udisks2.udisksd -f -q -S -1s ); kill $!'
+ else
+ removable_storage_watcher --memorycard insert sdio usb scsi
+ fi
+imports: from com.canonical.plainbox import manifest
+requires:
+ package.name == 'udisks2' or snap.name == 'udisks2'
+ manifest.has_card_reader == 'True'
+user: root
+_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. Commence the test and then insert a MS card into the reader.
+ (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
+category_id: com.canonical.plainbox::mediacard
+id: mediacard/ms-storage
+estimated_duration: 30.0
+depends: mediacard/ms-insert
+user: root
+command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
+requires:
+ package.name == 'udisks2' or (snap.name == 'core' and int(snap.revision) >= 1804)
+_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
+category_id: com.canonical.plainbox::mediacard
+id: mediacard/ms-remove
+estimated_duration: 30.0
+depends: mediacard/ms-insert
+command:
+ if [[ -v SNAP ]]; then
+ timeout 20s bash -c 'grep -m 1 -oP "\Kremove.*?mmc.*?\s" <( exec journalctl -u snap.udisks2.udisksd -f -q -S -1s ); kill $!'
+ else
+ removable_storage_watcher --memorycard remove sdio usb scsi
+ fi
+user: root
+_description:
+ PURPOSE:
+ This test will check that the system correctly detects
+ the removal of a MS card from the systems card reader.
+ STEPS:
+ 1. Commence the 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
+category_id: com.canonical.plainbox::mediacard
+id: mediacard/msp-insert
+estimated_duration: 30.0
+command:
+ if [[ -v SNAP ]]; then
+ timeout 20s bash -c 'grep -m 1 -oP "\Kadd.*?mmc.*?\s" <( exec journalctl -u snap.udisks2.udisksd -f -q -S -1s ); kill $!'
+ else
+ removable_storage_watcher --memorycard insert sdio usb scsi
+ fi
+user: root
+imports: from com.canonical.plainbox import manifest
+requires:
+ package.name == 'udisks2' or snap.name == 'udisks2'
+ manifest.has_card_reader == 'True'
+_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. Commence the test and then insert a MSP card into the reader.
+ (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
+category_id: com.canonical.plainbox::mediacard
+id: mediacard/msp-storage
+estimated_duration: 30.0
+depends: mediacard/msp-insert
+user: root
+command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
+requires:
+ package.name == 'udisks2' or (snap.name == 'core' and int(snap.revision) >= 1804)
+_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
+category_id: com.canonical.plainbox::mediacard
+id: mediacard/msp-remove
+estimated_duration: 30.0
+depends: mediacard/msp-insert
+command:
+ if [[ -v SNAP ]]; then
+ timeout 20s bash -c 'grep -m 1 -oP "\Kremove.*?mmc.*?\s" <( exec journalctl -u snap.udisks2.udisksd -f -q -S -1s ); kill $!'
+ else
+ removable_storage_watcher --memorycard remove sdio usb scsi
+ fi
+user: root
+_description:
+ PURPOSE:
+ This test will check that the system correctly detects
+ the removal of a MSP card from the systems card reader.
+ STEPS:
+ 1. Commence the 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
+category_id: com.canonical.plainbox::mediacard
+id: mediacard/xd-insert
+estimated_duration: 30.0
+command:
+ if [[ -v SNAP ]]; then
+ timeout 20s bash -c 'grep -m 1 -oP "\Kadd.*?mmc.*?\s" <( exec journalctl -u snap.udisks2.udisksd -f -q -S -1s ); kill $!'
+ else
+ removable_storage_watcher --memorycard insert sdio usb scsi
+ fi
+imports: from com.canonical.plainbox import manifest
+requires:
+ package.name == 'udisks2' or snap.name == 'udisks2'
+ manifest.has_card_reader == 'True'
+user: root
+_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. Commence the test and then insert a xD card into the reader.
+ (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
+category_id: com.canonical.plainbox::mediacard
+id: mediacard/xd-storage
+estimated_duration: 30.0
+depends: mediacard/xd-insert
+user: root
+command: removable_storage_test -s 268400000 --memorycard sdio usb scsi
+requires:
+ package.name == 'udisks2' or (snap.name == 'core' and int(snap.revision) >= 1804)
+_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
+category_id: com.canonical.plainbox::mediacard
+id: mediacard/xd-remove
+estimated_duration: 30.0
+depends: mediacard/xd-insert
+command:
+ if [[ -v SNAP ]]; then
+ timeout 20s bash -c 'grep -m 1 -oP "\Kremove.*?mmc.*?\s" <( exec journalctl -u snap.udisks2.udisksd -f -q -S -1s ); kill $!'
+ else
+ removable_storage_watcher --memorycard remove sdio usb scsi
+ fi
+user: root
+_description:
+ PURPOSE:
+ This test will check that the system correctly detects
+ the removal of a xD card from the systems card reader.
+ STEPS:
+ 1. Commence the 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
+category_id: com.canonical.plainbox::mediacard
+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 decide on the outcome")
+requires:
+ package.name == 'udisks2' or (snap.name == 'core' and int(snap.revision) >= 1804)
+environ: LD_LIBRARY_PATH GI_TYPELIB_PATH
+_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. Commence the test.
+ VERIFICATION:
+ Did the results of the test match the expected performance of the inserted device?
+
+plugin: user-interact-verify
+category_id: com.canonical.plainbox::mediacard
+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 decide on the outcome")
+requires:
+ package.name == 'udisks2' or (snap.name == 'core' and int(snap.revision) >= 1804)
+environ: LD_LIBRARY_PATH GI_TYPELIB_PATH
+_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. Commence the test.
+ VERIFICATION:
+ Did the results of the test match the expected performance of the inserted device?
+
+plugin: user-interact-verify
+category_id: com.canonical.plainbox::mediacard
+id: mediacard/mmc-performance-manual
+depends: mediacard/mmc-insert
+estimated_duration: 120.0
+user: root
+command: removable_storage_test -s 209715200 --memorycard sdio usb | cat <(echo "Working...") - <(echo; echo "Verify the result and decide on the outcome")
+requires:
+ package.name == 'udisks2' or (snap.name == 'core' and int(snap.revision) >= 1804)
+environ: LD_LIBRARY_PATH GI_TYPELIB_PATH
+_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. Commence the test.
+ VERIFICATION:
+ Did the results of the test match the expected performance of the inserted device?
+
+plugin: user-interact-verify
+category_id: com.canonical.plainbox::mediacard
+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 decide on the outcome")
+requires:
+ package.name == 'udisks2' or (snap.name == 'core' and int(snap.revision) >= 1804)
+environ: LD_LIBRARY_PATH GI_TYPELIB_PATH
+_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. Commence the test.
+ VERIFICATION:
+ Did the results of the test match the expected performance of the inserted device?
+
+plugin: user-interact-verify
+category_id: com.canonical.plainbox::mediacard
+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 decide on the outcome")
+requires:
+ package.name == 'udisks2' or (snap.name == 'core' and int(snap.revision) >= 1804)
+environ: LD_LIBRARY_PATH GI_TYPELIB_PATH
+_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. Commence the test.
+ VERIFICATION:
+ Did the results of the test match the expected performance of the inserted device?
+
+plugin: user-interact-verify
+category_id: com.canonical.plainbox::mediacard
+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 decide on the outcome")
+requires:
+ package.name == 'udisks2' or (snap.name == 'core' and int(snap.revision) >= 1804)
+environ: LD_LIBRARY_PATH GI_TYPELIB_PATH
+_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. Commence the test.
+ VERIFICATION:
+ Did the results of the test match the expected performance of the inserted device?
+
+plugin: user-interact-verify
+category_id: com.canonical.plainbox::mediacard
+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 decide on the outcome")
+requires:
+ package.name == 'udisks2' or (snap.name == 'core' and int(snap.revision) >= 1804)
+environ: LD_LIBRARY_PATH GI_TYPELIB_PATH
+_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. Commence the test.
+ VERIFICATION:
+ Did the results of the test match the expected performance of the inserted device?
+
+plugin: user-interact-verify
+category_id: com.canonical.plainbox::mediacard
+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 decide on the outcome")
+requires:
+ package.name == 'udisks2' or (snap.name == 'core' and int(snap.revision) >= 1804)
+environ: LD_LIBRARY_PATH GI_TYPELIB_PATH
+_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. Commence the test.
+ VERIFICATION:
+ Did the results of the test match the expected performance of the inserted device?
+
diff --git a/units/mediacard/manifest.pxu b/units/mediacard/manifest.pxu
new file mode 100644
index 0000000..a0199db
--- /dev/null
+++ b/units/mediacard/manifest.pxu
@@ -0,0 +1,4 @@
+unit: manifest entry
+id: has_card_reader
+_name: Media Card Reader
+value-type: bool