summaryrefslogtreecommitdiff
path: root/automated/linux/disk-partitioning/disk-partitioning.yaml
blob: c48b52a1a25e358b3a54a5a6e2c1a3dbd57f47a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
metadata:
    name: disk-partitioning-test
    format: "Lava-Test-Shell Test Definition 1.0"
    description: "Disk partitioning test."
    maintainer:
        - chase.qi@linaro.org
    os:
        - debian
        - ubuntu
        - fedora
        - centos
    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"
    SKIP_INSTALL: "False"

run:
    steps:
        - cd ./automated/linux/disk/
        - ./disk-partitioning.sh -d "${DEVICE}" -l "${DISKLABEL}" -f "${FILESYSTEM}" -s "${SKIP_INSTALL}"
        - ../../utils/send-to-lava.sh ./output/result.txt