mirror of
https://repo.or.cz/socat.git
synced 2025-07-09 05:46:32 +00:00
Internal: Reworked xioopts
This commit is contained in:
parent
1c1a91027a
commit
5eebca3a5b
37 changed files with 1380 additions and 1199 deletions
5
test.sh
5
test.sh
|
@ -17093,11 +17093,12 @@ tf="$td/test$N.stdout"
|
|||
te="$td/test$N.stderr"
|
||||
tdiff="$td/test$N.diff"
|
||||
da="test$N $(date) $RANDOM"
|
||||
CMD0="$TRACE $SOCAT $opts -T 1 PIPE EXEC:cat,setsid,sigint"
|
||||
CMD0="$TRACE $SOCAT $opts -T 2 PIPE EXEC:\"$CAT\",pty,setsid,sigint"
|
||||
printf "test $F_n $TEST... " $N
|
||||
$CMD0 >/dev/null 2>"${te}0" &
|
||||
pid0=$!
|
||||
relsleep 2
|
||||
#echo "pid0=$pid0" >&2 #!!!
|
||||
sleep 1
|
||||
kill -INT $pid0
|
||||
wait
|
||||
if grep -q " W waitpid..: child .* exited with status 130" "${te}0" ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue