File: testfakeact2.sh

package info (click to toggle)
eegdev 0.2-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,972 kB
  • sloc: ansic: 32,259; sh: 10,941; makefile: 247; lex: 128; yacc: 118
file content (19 lines) | stat: -rwxr-xr-x 194 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
#!/bin/sh

export LD_PRELOAD=$builddir/fakelibs/.libs/libfakeact2.so
prg=sysbiosemi$EXEEXT

retval=0

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

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

exit $retval