blob: 7e7a0d3e7f7f6853b3d445d9b7a016b17ba7fd02 (
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: sata-partition-rw
format: "Lava-Test-Shell Test Definition 1.0"
description: "SATA Partition, Read and Write Test on Linux Linaro ubuntu.
1) The target Device ID is possible to be set in JSON.
2) This script is using dd with iflag and oflag set to direct to test read and write performance.
In this way it can provide the real output without cache involved.
3) For more information, please refer to dd GNU web page."
maintainer:
- botao.sun@linaro.org
os:
- ubuntu
devices:
- d01
- panda
- panda-es
- arndale
environment:
- lava-test-shell
install:
deps:
- parted
- python
params:
DeviceID: /dev/sda
run:
steps:
- "cd ubuntu/scripts; ./sata-partition-rw.py $DeviceID"
parse:
pattern: '^(?P<test_case_id>sata_\w+):\s(?P<result>\w+)\s(?P<measurement>[0-9.]+)\s(?P<units>[a-zA-Z/]+)'
|