summaryrefslogtreecommitdiff
path: root/common/disk-partitioning-test.yaml
diff options
context:
space:
mode:
authorChase Qi <chase.qi@linaro.org>2016-08-09 21:26:21 +0800
committerChase Qi <chase.qi@linaro.org>2016-08-11 15:56:09 +0800
commit74da641c0eec6cd4a29af5cc944fb60525c02a04 (patch)
tree586306b27081d3b055622cfcb5a16bf087b61850 /common/disk-partitioning-test.yaml
parentf6eca3dd9986995047f6d5813c3c7d81692df554 (diff)
common: add disk partitioning test
Change-Id: If8a024b0e4290a40a7de6f7c2cb848b3ec77ff30 Signed-off-by: Chase Qi <chase.qi@linaro.org>
Diffstat (limited to 'common/disk-partitioning-test.yaml')
-rwxr-xr-xcommon/disk-partitioning-test.yaml30
1 files changed, 30 insertions, 0 deletions
diff --git a/common/disk-partitioning-test.yaml b/common/disk-partitioning-test.yaml
new file mode 100755
index 0000000..d15c8bd
--- /dev/null
+++ b/common/disk-partitioning-test.yaml
@@ -0,0 +1,30 @@
+metadata:
+ name: disk-partitioning-test
+ format: "Lava-Test-Shell Test Definition 1.0"
+ description: "Disk partitioning test."
+ maintainer:
+ - chase.qi@linaro.org
+ os:
+ - debian
+ - fedora
+ devices:
+ - mustang
+ - hi6220-hikey
+ - apq8016-sbc
+ scope:
+ - functional
+ environment:
+ - lava-test-shell
+
+params:
+ # The existing disk label on the device will be destroyed,
+ # and all data on this disk will be lost.
+ DEVICE: ""
+ # Supported labels: msdos and gpt
+ DISKLABEL: "gpt"
+ FILESYSTEM: "ext4"
+
+run:
+ steps:
+ - ./common/scripts/disk-partitioning-test.sh -d "${DEVICE}" -l "${DISKLABEL}" -f "${FILESYSTEM}" -r "result.txt"
+ - ./common/scripts/send-to-lava.sh "result.txt"