File: test.sh

package info (click to toggle)
atitvout 0.4-12
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 208 kB
  • ctags: 236
  • sloc: ansic: 1,670; makefile: 115; sh: 31
file content (36 lines) | stat: -rwxr-xr-x 454 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash

testit () {
	echo "TEST: Running 'atitvout $FLAG $1' ..."
	atitvout $FLAG $1
	echo "TEST: ... finished. Return value is $?. Please wait 3 seconds."
	echo
	sleep 3
}

testall () {
	testit vbe
	testit tvout
	testit standard
	testit pal
	testit ntsc
	testit detect
	testit active
	testit auto
	testit off
	testit l
	testit c
	testit t
	testit lc
	testit lt
	testit ct
	testit lct
}


(
	FLAG=-f
	testall
	FLAG=-r
	testall
) 2>&1 | tee test.out