Browse Source

test: Add more serial port tests.

Georgi Chorbadzhiyski 9 years ago
parent
commit
b2dd766732
2 changed files with 6 additions and 0 deletions
  1. 3
    0
      test/run
  2. 3
    0
      test/test-06.ok

+ 3
- 0
test/run View File

@@ -95,6 +95,9 @@ check test/test-05 "Test if --backup restored correct config."
95 95
 ./videohubctrl --test-input test/input-00.txt --mo-unlock "Output 18"                $@ >> test/test-06.out 2>&1
96 96
 ./videohubctrl --test-input test/input-00.txt --se-name 18          "Test Serial 18" $@ >> test/test-06.out 2>&1
97 97
 ./videohubctrl --test-input test/input-00.txt --se-name "Serial 18" "Test Serial 18" $@ >> test/test-06.out 2>&1
98
+./videohubctrl --test-input test/input-00.txt --se-clear 24                          $@ >> test/test-06.out 2>&1
99
+./videohubctrl --test-input test/input-00.txt --se-clear "Serial X"                  $@ >> test/test-06.out 2>&1
100
+./videohubctrl --test-input test/input-00.txt --se-connect 24 7                      $@ >> test/test-06.out 2>&1
98 101
 ./videohubctrl --test-input test/input-00.txt --se-lock 18                           $@ >> test/test-06.out 2>&1
99 102
 ./videohubctrl --test-input test/input-00.txt --se-lock "Serial 18"                  $@ >> test/test-06.out 2>&1
100 103
 ./videohubctrl --test-input test/input-00.txt --se-unlock 18                         $@ >> test/test-06.out 2>&1

+ 3
- 0
test/test-06.ok View File

@@ -24,6 +24,9 @@ ERROR: Unknown monitoring output port number/name: 18
24 24
 ERROR: Unknown monitoring output port number/name: Output 18
25 25
 ERROR: Unknown serial port number/name: 18
26 26
 ERROR: Unknown serial port number/name: Serial 18
27
+ERROR: Unknown serial port number/name: 24
28
+ERROR: Unknown serial port number/name: Serial X
29
+ERROR: Unknown serial port number/name: 24
27 30
 ERROR: Unknown serial port number/name: 18
28 31
 ERROR: Unknown serial port number/name: Serial 18
29 32
 ERROR: Unknown serial port number/name: 18

Loading…
Cancel
Save