From 74da641c0eec6cd4a29af5cc944fb60525c02a04 Mon Sep 17 00:00:00 2001 From: Chase Qi Date: Tue, 9 Aug 2016 21:26:21 +0800 Subject: common: add disk partitioning test Change-Id: If8a024b0e4290a40a7de6f7c2cb848b3ec77ff30 Signed-off-by: Chase Qi --- common/disk-partitioning-test.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 common/disk-partitioning-test.yaml (limited to 'common/disk-partitioning-test.yaml') 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" -- cgit v1.2.3