mirror of
https://repo.or.cz/socat.git
synced 2025-07-26 04:02:56 +00:00
reworked so-type, so-prototype
This commit is contained in:
parent
b6c2d46008
commit
376b9d50c3
22 changed files with 293 additions and 253 deletions
4
test.sh
4
test.sh
|
@ -2362,7 +2362,7 @@ N=$((N+1))
|
|||
#}
|
||||
|
||||
|
||||
NAME=UNIXSOCKET
|
||||
NAME=UNIXSTREAM
|
||||
case "$TESTS" in
|
||||
*%functions%*|*%unix%*|*%$NAME%*)
|
||||
TEST="$NAME: echo via connection to UNIX domain socket"
|
||||
|
@ -2372,7 +2372,7 @@ ts="$td/test$N.socket"
|
|||
tdiff="$td/test$N.diff"
|
||||
da="test$N $(date) $RANDOM"
|
||||
CMD1="$SOCAT $opts UNIX-LISTEN:$ts PIPE"
|
||||
CMD2="$SOCAT $opts -!!- UNIX:$ts"
|
||||
CMD2="$SOCAT $opts -!!- UNIX-CONNECT:$ts"
|
||||
printf "test $F_n $TEST... " $N
|
||||
$CMD1 </dev/null >$tf 2>"${te}1" &
|
||||
bg=$! # background process id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue