Debian Codegraph @

tests/fdpassing-socket.sh

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2
3 if testscip-shell system . . test. -e a.sock; then
4 rmscip-shell system . . rm. -f a.sock
5 fi
6
7 ./fdpassing$EXEEXT --server --socketname a.sock 2>/dev/nullscip-shell filesystem . . `/dev/null`. &
8 SERVER_PID=$!
9
10 # Wait for server stats up
11 sleepscip-shell system . . sleep. 1
12
13 ./fdpassing$EXEEXT --socketname file://a.sock
14 STATUS=$?
15
16 if testscip-shell system . . test. $STATUS -eq 0; then
17 exit 0
18 else
19 killscip-shell system . . kill. $SERVER_PID
20 exit $STATUS
21 fi
22 rmscip-shell system . . rm. -f a.sock