1
0
mirror of https://github.com/moparisthebest/socat synced 2024-12-21 22:48:48 -05:00

merged: minor corrections in test.sh

This commit is contained in:
Gerhard Rieger 2010-01-10 14:30:54 +01:00
commit 2ebedc0457

View File

@ -6063,8 +6063,9 @@ eval "$SRV 2>${te}s &"
pids=$!
waitfile "$ts1"
echo "$da1" |eval "$CLI" >"${tf}1" 2>"${te}1"
rc=$?
wait
if [ $? -ne 0 ]; then
if [ $rc -ne 0 ]; then
kill "$pids" 2>/dev/null
$PRINTF "$FAILED:\n"
echo "$SRV &"