Browse Source

test: Add more serial port tests.

Georgi Chorbadzhiyski 10 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
 ./videohubctrl --test-input test/input-00.txt --mo-unlock "Output 18"                $@ >> test/test-06.out 2>&1
95
 ./videohubctrl --test-input test/input-00.txt --mo-unlock "Output 18"                $@ >> test/test-06.out 2>&1
96
 ./videohubctrl --test-input test/input-00.txt --se-name 18          "Test Serial 18" $@ >> test/test-06.out 2>&1
96
 ./videohubctrl --test-input test/input-00.txt --se-name 18          "Test Serial 18" $@ >> test/test-06.out 2>&1
97
 ./videohubctrl --test-input test/input-00.txt --se-name "Serial 18" "Test Serial 18" $@ >> test/test-06.out 2>&1
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
 ./videohubctrl --test-input test/input-00.txt --se-lock 18                           $@ >> test/test-06.out 2>&1
101
 ./videohubctrl --test-input test/input-00.txt --se-lock 18                           $@ >> test/test-06.out 2>&1
99
 ./videohubctrl --test-input test/input-00.txt --se-lock "Serial 18"                  $@ >> test/test-06.out 2>&1
102
 ./videohubctrl --test-input test/input-00.txt --se-lock "Serial 18"                  $@ >> test/test-06.out 2>&1
100
 ./videohubctrl --test-input test/input-00.txt --se-unlock 18                         $@ >> test/test-06.out 2>&1
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
 ERROR: Unknown monitoring output port number/name: Output 18
24
 ERROR: Unknown monitoring output port number/name: Output 18
25
 ERROR: Unknown serial port number/name: 18
25
 ERROR: Unknown serial port number/name: 18
26
 ERROR: Unknown serial port number/name: Serial 18
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
 ERROR: Unknown serial port number/name: 18
30
 ERROR: Unknown serial port number/name: 18
28
 ERROR: Unknown serial port number/name: Serial 18
31
 ERROR: Unknown serial port number/name: Serial 18
29
 ERROR: Unknown serial port number/name: 18
32
 ERROR: Unknown serial port number/name: 18

Loading…
Cancel
Save