mirror of
https://repo.or.cz/socat.git
synced 2024-12-22 15:32:35 +00:00
Version 1.7.4.5
This commit is contained in:
parent
33896a3f38
commit
f0ca732bd9
5 changed files with 11 additions and 8 deletions
2
CHANGES
2
CHANGES
|
@ -1,4 +1,6 @@
|
|||
|
||||
####################### V 1.7.4.5:
|
||||
|
||||
Corrections:
|
||||
On connect() failure and in some other situations Socat tries to get
|
||||
detailled information about the error with recvmsg(). Error return of
|
||||
|
|
2
README
2
README
|
@ -75,7 +75,7 @@ install
|
|||
|
||||
Get the tarball and extract it:
|
||||
tar xzf socat.tar.gz
|
||||
cd socat-1.7.4.4
|
||||
cd socat-1.7.4.5
|
||||
./configure
|
||||
make
|
||||
su
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
"1.7.4.4+"
|
||||
"1.7.4.5"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
%define majorver 1.7
|
||||
%define minorver 4.4
|
||||
%define minorver 4.5
|
||||
|
||||
Summary: socat - multipurpose relay
|
||||
Name: socat
|
||||
|
|
11
test.sh
11
test.sh
|
@ -58,7 +58,7 @@ NUMCOND=true
|
|||
VERBOSE=
|
||||
DEBUG=
|
||||
FOREIGN=
|
||||
EXPECT_FAIL=
|
||||
OPT_EXPECT_FAIL= EXPECT_FAIL=
|
||||
while [ "$1" ]; do
|
||||
case "X$1" in
|
||||
X-h) usage; exit 0 ;;
|
||||
|
@ -72,7 +72,7 @@ while [ "$1" ]; do
|
|||
X-N) shift; NUMCOND="test \$N -ge $1" ;;
|
||||
X-C) rm -f testcert*.conf testcert.dh testcli*.* testsrv*.* ;;
|
||||
X-foreign) FOREIGN=1 ;; # allow access to 3rd party Internet hosts
|
||||
X-expect-fail|X--expect-fail) shift; EXPECT_FAIL="$1" ;;
|
||||
X-expect-fail|X--expect-fail) OPT_EXPECT_FAIL=1; shift; EXPECT_FAIL="$1" ;;
|
||||
X-*) echo "Unknown option \"$1\"" >&2
|
||||
usage >&2
|
||||
exit 1 ;;
|
||||
|
@ -9260,7 +9260,7 @@ elif ! runsip6 >/dev/null; then
|
|||
numCANT=$((numCANT+1))
|
||||
listCANT="$listCANT $N"
|
||||
elif ! echo |$SOCAT -u -t 0.1 - UDP6-SENDTO:[ff02::2]:12002 >/dev/null 2>&1; then
|
||||
$PRINTF "test $F_n $TEST... ${YELLOW}IPv6 multicasting dos not work${NORMAL}\n" $N
|
||||
$PRINTF "test $F_n $TEST... ${YELLOW}IPv6 multicasting does not work${NORMAL}\n" $N
|
||||
numCANT=$((numCANT+1))
|
||||
listCANT="$listCANT $N"
|
||||
else
|
||||
|
@ -16062,6 +16062,7 @@ esac
|
|||
PORT=$((PORT+1))
|
||||
N=$((N+1))
|
||||
|
||||
|
||||
# end of common tests
|
||||
|
||||
##################################################################################
|
||||
|
@ -16149,14 +16150,14 @@ if [ "$numFAIL" -gt 0 ]; then
|
|||
echo "FAILED: $listFAIL"
|
||||
fi
|
||||
|
||||
if [ -z "$EXPECT_FAIL" ]; then
|
||||
if [ -z "$OPT_EXPECT_FAIL" ]; then
|
||||
[ "$numFAIL" -eq 0 ]
|
||||
exit # with rc from above statement
|
||||
fi
|
||||
|
||||
#set -vx
|
||||
|
||||
if [ "$EXPECT_FAIL" ]; then
|
||||
if [ "$OPT_EXPECT_FAIL" ]; then
|
||||
diff <(set -- $(echo "$EXPECT_FAIL" |tr ',' ' '); while [ "$1" ]; do echo "$1"; shift; done) "$td/failed.lst" >"$td/failed.diff"
|
||||
ln -sf "$td/failed.diff" .
|
||||
#grep "^"
|
||||
|
|
Loading…
Reference in a new issue