aboutsummaryrefslogtreecommitdiff
path: root/manual/se/tc26.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'manual/se/tc26.yaml')
-rw-r--r--manual/se/tc26.yaml45
1 files changed, 45 insertions, 0 deletions
diff --git a/manual/se/tc26.yaml b/manual/se/tc26.yaml
new file mode 100644
index 0000000..936cc07
--- /dev/null
+++ b/manual/se/tc26.yaml
@@ -0,0 +1,45 @@
+metadata:
+ name: TC26
+ format: "Manual Test Definition 1.0"
+ description: "TC26: NAND MTD Read/Write"
+ maintainer:
+ - ryan.harkin@linaro.org
+ os:
+ - openembedded
+ scope:
+ - functional
+ devices:
+ - lces2
+ - soca9
+ environment:
+ - manual-test
+
+run:
+ steps:
+ - "#soca9: ok"
+ - "PART=0"
+ - "#lces2: ok"
+ - "PART=1"
+ - "sumfile=~/tc26.md5"
+ - "rm ${sumfile}*"
+ - " "
+ - "./test-mtd-write.sh ${PART} 512 | tail -1 | cut -d \" \" -f 1 | tee ${sumfile}"
+ - "# note checksum output"
+ - "reboot"
+ - " "
+ - "#soca9:"
+ - "PART=0"
+ - "#lces2:"
+ - "PART=1"
+ - " "
+ - " "
+ - "sumfile=~/tc26.md5"
+ - "./test-mtd-read.sh ${PART} | tail -1 | cut -d \" \" -f 1 | tee ${sumfile}.read"
+ - "# verify checksum matches one from the write test"
+ - " "
+ - "cat ${sumfile}*"
+ - "cmp ${sumfile}*"
+ - "if [ $? -eq 0 ]; then echo pass; else echo fail; fi"
+
+ expected:
+ - "Test echos pass"