mirror of
https://repo.or.cz/socat.git
synced 2025-07-27 13:02:57 +00:00
EXEC and SYSTEM with stderr injected socat messages into the data stream
This commit is contained in:
parent
c4751d50ec
commit
ad4bd0d9db
9 changed files with 126 additions and 67 deletions
18
test.sh
18
test.sh
|
@ -5713,6 +5713,7 @@ esac
|
|||
N=$((N+1))
|
||||
|
||||
|
||||
# there was an error in address EXEC with options pipes,stderr
|
||||
NAME=EXECPIPESSTDERR
|
||||
case "$TESTS" in
|
||||
*%functions%*|*%$NAME%*)
|
||||
|
@ -5721,6 +5722,23 @@ testecho "$N" "$TEST" "" "exec:$CAT,pipes,stderr" "$opts"
|
|||
esac
|
||||
N=$((N+1))
|
||||
|
||||
# EXEC and SYSTEM with stderr injected socat messages into the data stream.
|
||||
NAME=EXECSTDERRLOG
|
||||
case "$TESTS" in
|
||||
*%functions%*|*%$NAME%*)
|
||||
TEST="$NAME: simple echo via exec of cat with pipes,stderr"
|
||||
SAVE_opts="$opts"
|
||||
# make sure at least two -d are there
|
||||
case "$opts" in
|
||||
*-d*-d*) ;;
|
||||
*-d*) opts="$opts -d" ;;
|
||||
*) opts="-d -d" ;;
|
||||
esac
|
||||
testecho "$N" "$TEST" "" "exec:$CAT,pipes,stderr" "$opts"
|
||||
opts="$SAVE_opts"
|
||||
esac
|
||||
N=$((N+1))
|
||||
|
||||
|
||||
NAME=SIMPLEPARSE
|
||||
case "$TESTS" in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue