File: testfakegtec.sh

package info (click to toggle)
eegdev 0.2-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,108 kB
  • sloc: ansic: 32,298; sh: 10,962; makefile: 252; lex: 138; yacc: 130; xml: 29
file content (28 lines) | stat: -rwxr-xr-x 288 bytes parent folder | download | duplicates (6)
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
#!/bin/sh

export LD_PRELOAD=$builddir/fakelibs/.libs/libfakegtec.so
prg=sysgtec$EXEEXT

retval=0

if ! $prg -n 1 -d 0 -c 1
then
	retval=1
fi

if ! $prg -n 1 -d 1 -c 1
then
	retval=1
fi

if ! $prg -n 2 -d 0 -c 1
then
	retval=1
fi

if ! $prg -n 2 -d 1 -c 1
then
	retval=1
fi

exit $retval