aboutsummaryrefslogtreecommitdiff
path: root/manual/se/tc39.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'manual/se/tc39.yaml')
-rw-r--r--manual/se/tc39.yaml34
1 files changed, 34 insertions, 0 deletions
diff --git a/manual/se/tc39.yaml b/manual/se/tc39.yaml
new file mode 100644
index 0000000..11297f2
--- /dev/null
+++ b/manual/se/tc39.yaml
@@ -0,0 +1,34 @@
+metadata:
+ name: TC39
+ format: "Manual Test Definition 1.0"
+ description: "TC30: Watchdog timer"
+ maintainer:
+ - ryan.harkin@linaro.org
+ os:
+ - openembedded
+ scope:
+ - functional
+ devices:
+ - lces2
+ - soca9
+ environment:
+ - manual-test
+
+run:
+ steps:
+ - "watchdog -t 20 -T 30 /dev/watchdog"
+ - "ps -ef | grep watch | grep -v grep"
+ - "# check the watchdogs are created"
+ - "# Example output:"
+ - "# root@rzn1-snarc:~# ps -ef | grep watch | grep -v grep"
+ - "# root 31 2 0 16:44 ? 00:00:00 [watchdogd]"
+ - "# root 330 1 0 16:51 ? 00:00:00 watchdog -t 20 -T 30 /dev/watchdog"
+ - " "
+ - "# Kill the program, check it goes away, but the [watchdogd] entry stays"
+ - "process=$(ps -ef | grep watch | grep -v \"grep\" | tail -1 | awk '{print $2}')"
+ - "echo ${process}"
+ - "kill ${process}"
+ - "ps -ef | grep watch | grep -v grep"
+
+ expected:
+ - "Watchdog processes are started and terminated"