summaryrefslogtreecommitdiff
path: root/jobs
diff options
authorGabriel Zhi Chen <gabriel.chen@canonical.com>2018-09-26 04:22:42 -0400
committerGabriel Zhi Chen <gabriel.chen@canonical.com>2018-09-26 04:22:42 -0400
commit1e0d3ae57ce7b8e8a71dde0ffd293f9e2ce3cdf6 (patch)
tree9acce2e0fd22aeb881fd52cbc4ed29e12cbe7a62 /jobs
parentabab535e6051b3471b44ea8579bd613ce2a148c3 (diff)
Sutton: Add infrared camera disabled test case.
Diffstat (limited to 'jobs')
-rw-r--r--jobs/sutton/infrared-camera-disabled.txt.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/jobs/sutton/infrared-camera-disabled.txt.in b/jobs/sutton/infrared-camera-disabled.txt.in
new file mode 100644
index 0000000..4c39cd4
--- /dev/null
+++ b/jobs/sutton/infrared-camera-disabled.txt.in
@@ -0,0 +1,19 @@
+plugin: manual
+id: sutton/infrared/infrared-camera-disabled
+_purpose:
+ To validate that HD camera is available but infrared camera should be disabled.
+_steps:
+ 1. Please make sure there are infrared camera an HD camera on test unit. If there is only HD camera on test unit, please skip the test case.
+ 2. Log in to system and open a terminal
+ 3. Execute $ fswebcam -d /dev/video0 --no-banner -r 640x480 image1.jpg; eog image1.jpg
+ 4. Close the window of image1.jpg
+ 5. Execute $ fswebcam -d /dev/video1 --no-banner -r 640x480 image2.jpg
+_verification:
+ 1. Step 3, the image1.jpg is a self portrait by HD camera
+ 2. Step 5, system will notify as following. The infrared camera is disabled by system.
+ *************************************
+ --- Opening /dev/video1...
+ stat: No such file or directory
+ *************************************
+
+