mirror of
https://repo.or.cz/socat.git
synced 2024-12-22 23:42:34 +00:00
minor corrections, not affecting binaries
This commit is contained in:
parent
e310bb1cfd
commit
9de26f1d05
3 changed files with 7 additions and 4 deletions
1
CHANGES
1
CHANGES
|
@ -89,6 +89,7 @@ Corrections:
|
|||
name to decide if it is an IPv4 address. This was not RFC conform. This
|
||||
fix removes the possibility for use of IPv4 addresses with IPv6, e.g.
|
||||
TCP6:127.0.0.1:80
|
||||
Debian issue 695885
|
||||
Thanks to Nicolas Fournil for reporting this issue.
|
||||
|
||||
Print a useful error message when single character options appear to be
|
||||
|
|
|
@ -49,7 +49,6 @@ XIOSRCS = xioinitialize.c xiohelp.c xioparam.c xiodiag.c xioopen.c xioopts.c \
|
|||
xio-ip.c xio-ip4.c xio-ip6.c xio-ipapp.c xio-tcp.c \
|
||||
xio-sctp.c xio-rawip.c \
|
||||
xio-socks.c xio-proxy.c xio-udp.c \
|
||||
xio-rawip.c \
|
||||
xio-progcall.c xio-exec.c xio-system.c xio-termios.c xio-readline.c \
|
||||
xio-pty.c xio-openssl.c xio-streams.c\
|
||||
xio-ascii.c xiolockfile.c xio-tcpwrap.c xio-ext2.c xio-tun.c
|
||||
|
|
9
test.sh
9
test.sh
|
@ -183,7 +183,7 @@ if ! type usleep >/dev/null 2>&1 ||
|
|||
fi
|
||||
#USLEEP=usleep
|
||||
|
||||
if type ping6; then
|
||||
if type ping6 >/dev/null 2>&1; then
|
||||
PING6=ping6
|
||||
else
|
||||
PING6="ping -6"
|
||||
|
@ -13020,7 +13020,7 @@ N=$((N+1))
|
|||
|
||||
NAME=SOCAT_OPT_HINT
|
||||
case "$TESTS" in
|
||||
*%$N%*|*%socat%*|*%$NAME%*)
|
||||
*%$N%*|*%functions%*|*%$NAME%*)
|
||||
TEST="$NAME: check if merging single character options is rejected"
|
||||
if ! eval $NUMCOND; then :; else
|
||||
te="$td/test$N.stderr"
|
||||
|
@ -13057,8 +13057,10 @@ te="$td/test$N.stderr"
|
|||
tdiff="$td/test$N.diff"
|
||||
da="test$N $(date) $RANDOM"
|
||||
CMD0="$TRACE $SOCAT $opts -T 1 STDIO,echo=0 EXEC:cat"
|
||||
echo "$CMD0" >$td/test$N.sh
|
||||
chmod a+x $td/test$N.sh
|
||||
printf "test $F_n $TEST... " $N
|
||||
$CMD0 2>"${te}0"
|
||||
$SOCAT /dev/null EXEC:$td/test$N.sh,pty 2>"${te}0"
|
||||
rc0=$?
|
||||
if [ $rc0 -eq 0 ]; then
|
||||
$PRINTF "$OK\n"
|
||||
|
@ -13066,6 +13068,7 @@ if [ $rc0 -eq 0 ]; then
|
|||
else
|
||||
$PRINTF "$FAILED\n"
|
||||
echo "$CMD0"
|
||||
cat "${te}0"
|
||||
numFAIL=$((numFAIL+1))
|
||||
listFAIL="$listFAIL $N"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue